Development Environment    

Viewing Base and Function Workspaces Using the Stack

When you run M-files, MATLAB assigns each function its own workspace, called the function workspace, which is separate from MATLAB's base workspace. You can access the base and function workspaces when debugging M-files by using the Stack field in the Workspace browser. The Stack field is only available in debug mode; otherwise it is grayed out. The Stack field is also accessible from the Editor/Debugger. See Debugging M-Files for more information.


 Clearing Workspace Variables Creating Graphics from the Workspace Browser