Execute one or more lines from current breakpoint
This function allows you to debug a MATLAB® code file by following its execution from the current breakpoint. At a breakpoint, the dbstep function steps through execution of the current file one line at a time or at the rate specified by nlines.
dbstep in steps to the next executable line. If that line contains a call to another MATLAB code file function, execution will step to the first executable line of the called function. If there is no call to a MATLAB code file on that line, dbstep in is the same as dbstep.
For all forms, MATLAB software also stops execution at any breakpoint it encounters.