| << whomat | MATIO |
| whosmat(filename) |
| st = whosmat(filename) |
| whosmat(filename, var1, ..., varN) |
| st = whosmat(filename, var1, ..., varN) |
a string: .mat filename.
string: Names of variables to inspect.
stores information about the variables in the structure array st.
whosmat lists variables in an valid .mat file.
A = ones(3, 4);
B = 'Nelson';
C = sparse(true);
D = sparse(3i);
savemat([tempdir(), 'example_whosmat-v7.3.mat'], 'A', 'B', 'C', 'D', '-v7.3')
whosmat([tempdir(), 'example_whosmat-v7.3.mat'])
st = whosmat([tempdir(), 'example_whosmat-v7.3.mat'])
| Version | Description |
|---|---|
| 1.0.0 | initial version |
Allan CORNET