| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
As an alternative to the dbup function, you can select a different workspace from the Stack field in the Editor toolbar.
dbup
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.)
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.
dbclear, dbcont, dbdown, dbquit, dbstack, dbstatus, dbstep, dbstop, dbtype
![]() | dbtype | dde23 | ![]() |

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 |