Loren on the Art of MATLAB

Turn ideas into MATLAB

Results for: Structures

Working with structs 5

Posted by Loren Shure,

MATLAB has some functions that are specifically designed for exploring the contents of structures (entities known in MATLAB by the class struct). I find the functions isfield and fieldnames particularly helpful. The reason I raise this area of functionality is because... read more >>

What’s the Big deal? 15

Posted by Loren Shure,

So, what is the big deal? To start with, this week marks my 19th anniversary at MathWorks. Never would I have guessed back then what I am up to now, including talking about MATLAB with so many customers. I look forward to many more years working with... read more >>

More on eval 2

Posted by Loren Shure,

I recently wrote an article on Evading eval. A couple of users asked me how to avoid using eval in the case post under Code Clarity / Readability. The answer is you can't, unless you rethink the code altogether. ... read more >>