MATLAB Function Reference Previous page   Next Page

Change local workspace context when in debug mode

Graphical Interface

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



dbdown changes the current workspace context to the workspace of the called M-file when a breakpoint is encountered. You must have issued the dbup function at least once before you issue this function. dbdown is the opposite of dbup.

Multiple dbdown functions change the workspace context to each successively executed M-file on the stack until the current workspace context is the current breakpoint. It is not necessary, however, to move back to the current breakpoint to continue execution or to step to the next line.

See Also

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

Previous page  dbcont dblquad Next page

© 1994-2005 The MathWorks, Inc.