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

2 views (last 30 days)
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

Accepted Answer

Walter Roberson
Walter Roberson on 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.

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!