who
List variables in memory or in .nh5 or in .mat file.
📝Syntax
who
s = who()
who(scope)
s = who(scope)
who('-file', filename)
s = who('-file', filename)
who(... , var1, ..., varN)
s = who(... , var1, ..., varN)
📥Input Arguments
Parameter Description
scope a string: 'global', 'base', 'caller', 'local' or '-file'.
filename string: an existing filename .nh5 or .mat file.
var1, ..., varN string: variable name.
📤Output Arguments
Parameter Description
s a cell of strings: list of variable's name.
📄Description

who displays current variable names.

💡Examples
clear
who
A = 3
b= 3
who
s = who()
🔗See Also
whatclearwhos
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub