Quit debug mode
dbquit
dbquit all
dbquit
terminates debug mode. The Command
Window then displays the standard prompt (>>
).
The file being executed is not completed and
no results are 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
,
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
,
running dbquit
terminates debugging for both
file.
dbquit all
ends debugging for all files
simultaneously.