Skip to content

who

List names of variables in the workspace.

who
who(qualifier, ...)

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.

who % list current workspace
who('global') % only globals
  • whos — List variables in the workspace with detailed info.
  • clear — Remove items from the workspace.
  • exist — Check whether a name exists in the workspace, on disk, or as a built-in.