Stuart’s MATLAB Videos

Watch and Learn

Quick Tip: Speeding up debugging iterations

This week’s video is a quick tip to help speed up iterations when debugging MATLAB code. If your code requires user interactivity, such as selecting a file or folder from a dialog box, consider hardcoding a representative input value into your file while debugging. This eliminates for you to perform the interactive steps every time you run the code.

The video shows a couple of different approaches for switching between your debugging code and the code for the final version.

  • print


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