Description Toolbar Button Function Alternative
Execute the current line of the file. Step dbstep
Execute the current line of the file and, if
the line is a call to another function, step
into that function.
Step In dbstep^ in
Resume execution of file until completion or
until another breakpoint is encountered.
Continue dbcont
After stepping in, run the rest of the called
function or local function, leave the called
function, and pause.
Step Out dbstep^ out
Pause debug mode. Pause None
Exit debug mode. Quit Debugging dbquit
End Debugging Session
After you identify a problem, end the debugging session by going to the Editor tab and
clicking Quit Debugging. You must end a debugging session if you want to change
and save a file, or if you want to run other programs in MATLAB.
After you quit debugging, pause indicators in the Editor display no longer appear, and the
normal >> prompt reappears in the Command Window in place of the K>>. You no longer
can access the call stack.
If MATLAB software becomes nonresponsive when it pauses at a breakpoint, press Ctrl+c
to return to the MATLAB prompt.
See Also
Related Examples
- “Set Breakpoints” on page 22-8
- “Examine Values While Debugging” on page 22-15
See Also