whos
s = whos()
whos(scope)
s = whos(scope)
whos('-file', filename)
s = whos('-file', filename)
whos(... , var1, ..., varN)
s = whos(... , var1, ..., varN)
| Parameter | Description |
|---|---|
| scope | a string: 'global', 'base', 'caller', 'local'. |
| var1, ..., varN | a string: variable name. |
| filename | string: an existing filename .nh5 or .mat file. |
| Parameter | Description |
|---|---|
| st | stores information about the variables in the structure array s. |
whos displays current variable names in memory or in .nh5 or .mat file.
clear
whos
A = 3
b= 3
whos
s = whos()
save([tempdir(), 'example_who.nh5'], 'A', 'b')
whos([tempdir(), 'example_who.nh5'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |