|MATLAB Function Reference|
Change local workspace context
As an alternative to the
dbup function, you can select a different workspace from the Stack field in the toolbar of the Editor/Debugger.
This function allows you to examine the calling M-file by using any other MATLAB function. In this way, you determine what led to the arguments' being passed to the called function.
changes the current workspace context (at a breakpoint) to the workspace of the calling M-file.
dbup functions change the workspace context to each previous calling M-file on the stack until the base workspace context is reached. (It is not necessary, however, to move back to the current breakpoint to continue execution or to step to the next line.)