Stuart’s MATLAB Videos

Watch and Learn

Bad coding practices to avoid

I was revisiting older posts, and this is one of my most frequently referenced posts.

I teach the MATLAB 101 class to every new hire at MathWorks. Inevitably, someone will ask me how to make a global variable. I then Google up: “How to make MATLAB Doug Cry” and find the above post. I think this is a post I should bring up every now and then because these things should be avoided today just like they should have been when I first wrote it.

I will be back from vacation soon with fresh content.

Thanks,
Doug

|
  • print

Comments

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