Using 'dbstop If Error' and Conditional Breakpoints to Debug MATLAB - MATLAB
Video Player is loading.
Current Time 0:00
Duration 2:57
Loaded: 0.00%
Stream Type LIVE
Remaining Time 2:57
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected
    Video length is 2:57

    Using 'dbstop If Error' and Conditional Breakpoints to Debug MATLAB

    (Originally posted on Doug's MATLAB Video Tutorials blog.)

    Sometimes MATLAB throws an error, but because the error is inside of a function you can not see what caused this error. By telling the debugger to stop execution under certain conditions or right before an error is thrown you will be better able to understand the conditions that caused the error.

    Recorded: 8 Apr 2013

    Related Products