This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Workspace Browser

Open Workspace browser to manage workspace

Description

The Workspace browser enables you to view and interactively manage the contents of the workspace in MATLAB®. For each variable or object in the workspace, the Workspace browser also can display statistics, when relevant, such as the minimum, maximum, and mean.

You can edit the contents of scalar (1-by-1) variables directly in the Workspace browser. Right-click the variable and select Edit Value. To edit other variables, double-click the variable name in the Workspace browser to open it in the Variables editor.

Open the Workspace Browser

To open the Workspace browser if it is not currently visible, do one of the following:

  • MATLAB Toolstrip: On the Home tab, in the Environment section, click Layout. Then, in the Show section, select Workspace.

  • MATLAB command prompt: Enter workspace.

Examples

expand all

Create a 3x3 matrix and then edit the values of the matrix in the Workspace browser.

Create a 3x3 matrix and store it in A.

 A = [1 2 3; 4 5 6; 7 8 9];

Open the Workspace browser to view A.

workspace

Right-click the variable and select Edit Value. Replace the numbers 4, 5, and 6 with the numbers 10, 11, and 12, respectively.

Programmatic Use

expand all

workspace displays the Workspace browser. If the Workspace browser is already open, MATLAB selects the tool.

Introduced before R2006a