Main Content

Workspace Browser

Open Workspace browser to manage workspace


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.

Workspace browser

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.

In MATLAB Online™, you also can minimize the Workspace browser by collapsing the panel in which it resides. For example, if the Workspace browser is in the left side panel, click the Collapse Side (Left) button at the bottom left corner of the panel to collapse the panel. To restore the panel, click the Expand Side (Left) button. If the Workspace browser is in the left or right side panel and the panel contains multiple tools, you can also can minimize it by clicking the Collapse button on the left of the Workspace browser title bar.


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 browser showing A before edit

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

Workspace browser showing A after edit

Programmatic Use

expand all

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

Version History

Introduced before R2006a