save(filename, var) cant find workspace variable even if it exist
显示 更早的评论
From my script i am trying to use save to store my workspace stucture to a .mat file. But i get following error message:
>> TestGUI Error using save Variable 'NewTest' not found.
In my script i use save like this:
save('NewTest.mat','NewTest');
I can see that my structure exists in the workspace, any idea why save don't find my variable?
3 个评论
Stephen23
2015-6-24
Can you please show us a screen shot of the workspace containing this variable?
Does the save call have access to that workspace?
Joakim Magnusson
2015-6-24
编辑:Joakim Magnusson
2015-6-24
Stephen23
2015-6-25
This question is continued here:
采纳的回答
更多回答(1 个)
Joakim Magnusson
2015-6-24
编辑:Joakim Magnusson
2015-6-24
0 个投票
类别
在 帮助中心 和 File Exchange 中查找有关 Code Performance 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
