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

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by