MATLAB Function Reference Previous page   Next Page

Change local workspace context

Graphical Interface

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 to determine what led to the arguments' being 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.)

See Also

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

Previous page  dbtype dde23 Next page

© 1994-2005 The MathWorks, Inc.