Desktop Tools and Development Environment Previous page   Next Page

MATLAB Workspace

The MATLAB workspace consists of the set of variables (named arrays) built up during a MATLAB session and stored in memory. You add variables to the workspace by using functions, running M-files, and loading saved workspaces. For example, if you type

t = 0:pi/4:2*pi;
y = sin(t);

the workspace includes two variables, y and t, each having nine values.

You can perform workspace operations and related features using the Workspace browser. Equivalent functions are available and are documented with each feature of the Workspace browser. If you are viewing this document in the Help browser, you can watch the Workspace browser video demo for an overview of the major functionality:


Previous page  Workspace, Search Path, and File Operations Opening the Workspace Browser Next page

© 1994-2005 The MathWorks, Inc.