Development Environment    

Viewing and Editing Workspace Variables with the Array Editor

Use the Array Editor to view and edit a visual representation of one or two-dimensional numeric arrays, strings, and cell arrays of strings. The features of the Array Editor are

Opening the Array Editor

You can open the Array Editor from the Workspace browser:

  1. In the Workspace browser, select the variable you want to open. Shift+click or Ctrl+click to select multiple variables, or use Ctrl+A to select all variables to open.
  2. Click the open selection button on the toolbar. For one variable, you can instead double-click it to open it.
  1. The Array Editor opens, displaying the values for the selected variable.

Repeat the steps to open additional variables in the Array Editor. Access each variable via its tab at the bottom of the window, or use the Window menu.

Function Alternatives

To open a variable in the Array Editor, use openvar with the name of the variable you want to open as the argument. For example, type

MATLAB opens m in the Array Editor.

To see the contents of a variable in the workspace, just type the variable name at the Command Window prompt. For example, type

and MATLAB returns


  Preferences for the Workspace Browser Controlling the Display of Values in the Array Editor