Development Environment | ![]() ![]() |
Viewing the Current Workspace
The Workspace browser shows the name of each variable, its array size, its size in bytes, and the class. The icon for each variable denotes its class.
To resize the columns of information, drag the column header borders. To show or hide any of the columns, or to specify the sort order, select Workspace View Options from the View menu.
Function Alternative. Use who
to list the current workspace variables. Use whos
to list the variables and information about their size and class. For example:
who Your variables are: A M S v whos Name Size Bytes Class A 4x4 128 double array M 8x1 2368 cell array S 1x1 398 struct array v 5x9 90 char array Grand total is 286 elements using 2984 bytes
Use the exist
function to see if the specified variable is in the workspace.
![]() | MATLAB Workspace | Saving the Current Workspace | ![]() |