dbup
Shift current workspace to workspace of caller in debug mode
Description
dbup
changes the current workspace and function
context to the workspace and function context of the calling function or script in
debug mode. Then you can examine the calling MATLAB® function or script to determine what caused the arguments to be passed
to the called function.
Each dbup
command changes the workspace and function context to an
earlier calling function or script on the stack until the base workspace and
function context is reached. You do not need to return to the line at which
MATLAB is paused to continue execution or to step to the next line.
Examples
Input Arguments
Tips
If you receive an error message such as the following, it means that the parent workspace is under construction so that the value of
x
is unavailable:??? Reference to a called function result under construction x
Version History
Introduced before R2006a