|MATLAB Function Reference|
Execute one or more lines from current breakpoint
As an alternative to
dbstep, you can select Step or Step In from the Debug menu, or click the Step or Step In buttons on the Editor/Debugger toolbar.
This function allows you to debug an M-file by following its execution from the current breakpoint. At a breakpoint, the
dbstep function steps through execution of the current M-file one line at a time or at the rate specified by
by itself, executes the next executable line of the current M-file.
dbstep steps over the current line, skipping any breakpoints set in functions called by that line.
executes the specified number of executable lines.
steps to the next executable line. If that line contains a call to another M-file function, execution will step to the first executable line of the called M-file function. If there is no call to an M-file on that line,
dbstep in is the same as
runs the rest of the function and stops just after leaving the function.
For all forms, MATLAB also stops execution at any breakpoint it encounters.
© 1994-2005 The MathWorks, Inc.