load

load(filename) loads the workspace variables saved in a filename.mat

Examples

> x = 1; y = 2; z = 3;

[x:1]
[y:2]
[z:3]

> save('variables')

> clear

> load('variables')

[x:1]
[y:2]
[z:3]

> x; y; z;

[x:1]
[y:2]
[z:3]

Resources

See also

clear | save