|MATLAB Function Reference|
List M-file debugging functions
As an alternative to the debugging functions, you can use debugging features in the Debug menu and toolbar buttons of the Editor/Debugger.
lists M-file debugging functions.
Use debugging functions (listed in the See Also section) to help you identify problems in your M-files. Set breakpoints using
dbstop. When MATLAB encounters a breakpoint during execution, it enters debug mode, the Editor/Debugger becomes active, and the prompt in the Command Window changes to a
K>>. Any MATLAB command is allowed at the prompt. To resume execution, use
dbstep. To exit from debugging mode, use
Debugging M- Files in the MATLAB Desktop Tools and Development Environment documentation
© 1994-2005 The MathWorks, Inc.