Stuart’s MATLAB Videos

Watch and Learn

Code review of a file reader: suggestion of changes

A close friend of mine is just learning MATLAB. She needs to process a bunch of text files, and was able to write some code that will accomplish that. She came to me looking to bring her code to the next level to improve maintainability, readability and flexibility. There are quite a few tweaks here that bring her code to the next level. Most of these are very common, so you can get some ideas to apply to your code also.

  • print


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