Documentation Center

  • Trial Software
  • Product Updates


Shift current workspace to workspace of caller, while in debug mode




This function allows you to examine the calling MATLAB® code file to determine what caused the arguments to be passed to the called function.

dbup changes the current workspace context, while the user is in the debug mode, to the workspace of the calling file.

Multiple dbup functions change the workspace context to each previous calling 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.)

More About

expand all


If your 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

See Also

| | | | | | | |

Was this topic helpful?