Loren on the Art of MATLAB

Turn ideas into MATLAB

Note

Loren on the Art of MATLAB has been archived and will not be updated.

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


  • print

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.