Load .mat - file to base workspace?
Afficher commentaires plus anciens
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 commentaires
Joakim Magnusson
le 25 Juin 2015
This question is a continuation of this one:
And is continued, in a broad sense, here:
Also definitely worth reading:
Réponse acceptée
Plus de réponses (1)
Anthony Poulin
le 25 Juin 2015
Hello, you might use the evalin function:
evalin('base', 'load(''matlab.mat'')');
Catégories
En savoir plus sur Workspace Variables and MAT Files dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!