Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

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

GUI Alternative

As an alternative to the dbup function, you can select a different workspace from the Stack field in the Editor toolbar.

Syntax

dbup

Description

This function allows you to examine the calling M-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 M-file.

Multiple 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.)

Remarks

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

For more information, see Problems Viewing Variable Values from Parent Workspace.

See Also

dbclear, dbcont, dbdown, dbquit, dbstack, dbstatus, dbstep, dbstop, dbtype

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS