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.

Video Player is loading.
Current Time 0:00
Duration 7:33
Loaded: 0%
Stream Type LIVE
Remaining Time 7:33
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected
    |
    • print

    评论

    要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。

    Loading...
    Go to top of page