Documentation Center

  • Trial Software
  • Product Updates

Workspace Variables

Data in the MATLAB® workspace

Functions

clear Remove items from workspace, freeing up system memory
clearvars Clear variables from memory
disp Display text or array
openvar Open workspace variable in Variables editor or other graphical editing tool
who List variables in workspace
whos List variables in workspace, with sizes and types
load Load variables from file into workspace
save Save workspace variables to file
matfile Access and change variables directly in MAT-files, without loading into memory
Was this topic helpful?