Workspace Panel
Interactively manage workspace contents
Description
The Workspace panel enables you to view and interactively manage the contents of the MATLAB® workspace. Using this tool, you can:
View the name, value, size, class, and other statistics for each variable in the workspace.
Interactively rename a variable in the workspace.
Interactively edit the value of a variable.
Open the Workspace Panel
MATLAB sidebar: To show or hide the Workspace panel, click its icon on the sidebar. To open the Workspace panel if its icon is not on a sidebar, click the Open more panels button and select Workspace.
MATLAB command prompt: Enter
workspace
.MATLAB Toolstrip: On the Home tab, in the Environment section, click Layout. Then, select Workspace.
Examples
Programmatic Use
Tips
When editing strings in the Workspace panel, you must use double quotes to surround the string value.
By default, the Workspace panel displays the base workspace. You also can view function workspaces if MATLAB is in debug mode. For more information, see Base and Function Workspaces.