Skip to content

who

builtin · libnexusinterp/corefcn/call-stack-proprietary.cc

: who
: who pattern …
: who global
: who -regexp expr …
: who -file filename …
: c = who (…)

List the variables of the workspace in use.

Without arguments every variable is listed. Arguments are glob patterns (‘*’, ‘?’, ‘[…]’); the result lists the matches of each pattern in turn. After -regexp the patterns are regular expressions. global restricts the listing to global variables and -file lists the variables stored in a MAT-file. Options must precede the patterns.

With an output argument the names are returned in a column cell array, sorted within each pattern.