Loren on the Art of MATLAB

Turn ideas into MATLAB

Doug’s “Top 10 MATLAB code practices that make me cry”

Doug's "Top 10 MATLAB code practices that make me cry"

This week, Doug's blog focuses on what he considers to be some poor programming practices he's seen in MATLAB code.

I agree with much of his list, including, despite the comments, the nix on global variables. Assuming memory is an issue, I would either do what one user suggests, create a handle class, or I would use nested functions.

What are coding practices in MATLAB that you don't like to see? Let's add to Doug's list here.




Published with MATLAB® 7.10

|

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.