who
List names of variables in the workspace.
Syntax
Section titled “Syntax”whowho(qualifier, ...)Description
Section titled “Description”Without arguments, prints names of variables in the current workspace. With qualifiers, restricts to specific name patterns or scopes — who('global') lists global variables, who('-file', filename) lists variables stored in a .mat / .mjw file.
Examples
Section titled “Examples”who % list current workspacewho('global') % only globals