when i am saving workspce of function , it's not containing all variables.
古いコメントを表示
when i am saving workspce of function , it's not containing all variables. and when i run through command window it showing all data for the same data.
why it's showing the difference between workspace?
3 件のコメント
Walter Roberson
2020 年 11 月 12 日
There are some kinds of variables that are not serializable and cannot be completely saved to files. Device related variables often cannot be saved, and variables related to Parallel Computing Toolbox cannot always be saved.
Sonali Patil
2020 年 11 月 13 日
Rik
2020 年 11 月 13 日
Your comment is very confusing. Data is not saved in an m file, but in a mat file.
Why would you want to merge the base and function workspace? If you want them to be the same you can use a script. The whole point of functions is to hide the internals from the caller. What do you want to achieve?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Workspace Variables and MAT Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!