<< ismatfile | MATIO | savemat >> |
loadmat(filename) |
st = loadmat(filename) |
loadmat(filename, var1, ..., varN) |
st = loadmat(filename, var1, ..., varN) |
a string: .mat filename.
string: Names of variables to load into Nelson's workspace.
a structure with variables name as fieldnames.
loadmat loads data from .mat file to Nelson's workspace.
A = ones(3, 4);
B = 'hello for open mat users';
savemat([tempdir(), 'example_loadmat.mat'], 'A', 'B')
clear;
st = loadmat([tempdir(), 'example_loadmat.mat']);
who
st.A
st.B
clear
who
loadmat([tempdir(), 'example_loadmat.mat']);
who
A
B
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET