Load .mat - file to base workspace?
Mostra commenti meno recenti
I'm writing a gui script. I want to get a .mat - file and i need to use it in many functions in my script. Is loading the file to the base workspace a good solution and in that case, how do i load it to the base workspace? "load(filename)" only loads the file to the callers workspace if I'm right.
2 Commenti
Joakim Magnusson
il 25 Giu 2015
This question is a continuation of this one:
And is continued, in a broad sense, here:
Also definitely worth reading:
Risposta accettata
Più risposte (1)
Anthony Poulin
il 25 Giu 2015
Hello, you might use the evalin function:
evalin('base', 'load(''matlab.mat'')');
Categorie
Scopri di più su Whos in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!