Stuart’s MATLAB Videos

Watch and Learn

Debugging at Point of Error

One of my MATLAB scripts has failed and is currently stopped at the error point. By having turned on the “Pause on Errors” setting, I can see all the data in all the workspaces and hopefully use it to investigate the root cause.

Features covered in this code-along style video include:

  • Pause on Errors
  • Breakpoints

Play the video in full screen mode for a better viewing experience. And remember, you can speed up the video via the controls in the player. I won’t be offended; coding can sometimes seem like watching paint dry.

  • print


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