Warning to save when saving workspace.
古いコメントを表示
For this code:
savename = sprintf('%s_%s.mat',fname1,fname2);
save(savename);
It produces a warning: "Warning: Figure is saved in C:\Data\R1\R32.mat. Saving graphics handle variables can cause the creation of very large files. To save graphics figures, use savefig."
The save actually worked and saved the workspace correctly as .mat. Changed to "save savename" it had the same warning.
Why's that? It's not a fig to save.
1 件のコメント
Rik
2017 年 9 月 13 日
It is much better practice to save specific variables to your mat-file.
Probably you had a figure handle in your workspace, which then triggers this error.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Printing and Saving についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!