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