dbquit
Quit debug mode
Syntax
Description
dbquit
terminates debug mode. The Command Window then displays the
standard prompt (>>
). The file being executed is
not completed and no result is returned. All breakpoints
remain in effect.
If MATLAB® is in debug mode for more than one function,
dbquit
only terminates debugging for the active function.
For example, if you debug file1
and also debug
file2
, then running dbquit
terminates
debugging for file2
, while file1
remains in
debug mode until you run dbquit
again. However, if you debug
file3
and step into file4
, then running
dbquit
terminates debugging for both file.
dbquit
can only be called from the command line.
dbquit all
ends debugging for all files
simultaneously.
Examples
Tips
dbquit
can only be called from the command line.
Version History
Introduced before R2006a