Why I can't load .mat file in the .m file that guide has created?

1 vue (au cours des 30 derniers jours)
D Joseph
D Joseph le 2 Sep 2015
Commenté : D Joseph le 5 Sep 2015
Why I can't load .mat file in the .m file that guide has created?. I have saved an array D as
save('dict.mat','D')
But I can't load it even to the workspace. When I'm loading the value of D is changing only. When I type
load dict.mat
It is not seen in workspace

Réponse acceptée

Walter Roberson
Walter Roberson le 2 Sep 2015
load() loads into the current workspace. In your code, it is loading in the workspace of the function that has the load() command.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by