Doug Hull, MathWorks
(Originally posted on Doug's MATLAB Video Tutorials blog.)
Some errors happen in MATLAB infrequently. If you don't know the conditions when they occur, setting a breakpoint might not work. Using DBSTOP if error will have MATLAB stop on a line in the editor only when the error condition is tripped.