Stuart’s MATLAB Videos

Watch and Learn

Formatting code for readability

The use of whitespace can make your code more pleasant to read. This is not just a nicety, it actually makes it easier to see the structure of your code and makes it more clear where code breaks the established patterns to help find bugs (like copy and paste bugs). Though not presented in this video, Scott pointed out that comments and cell dividers are also excellent ways to format code.
Video Player is loading.
Current Time 0:00
Duration 3:17
Loaded: 5.06%
Stream Type LIVE
Remaining Time 3:17
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected
    |
    • print

    评论

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

    Loading...
    Go to top of page