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 帐户或创建一个新帐户。