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