Step Through File
While debugging, you can step through a MATLAB file, pausing at points where you want to examine values.
This table describes available debugging actions and the different methods you can use to execute them.
Description | Toolbar Button | Function Alternative |
---|---|---|
Continue execution of file until the line where the cursor is positioned. Also available on the context menu. |
| None |
Execute the current line of the file. |
| |
Execute the current line of the file and, if the line is a call to another function, step into that function. |
|
|
Resume execution of file until completion or until another breakpoint is encountered. |
| |
After stepping in, run the rest of the called function or local function, leave the called function, and pause. |
|
|
Pause debug mode. |
| None |
Exit debug mode. |
| dbquit |