フィルターのクリア

How to save workfile without graphics

5 ビュー (過去 30 日間)
Nguyen Bao
Nguyen Bao 2016 年 9 月 9 日
回答済み: Stephen23 2016 年 9 月 10 日
Hi there, if I use "save filname", the workfile will be very lareg (~10GB) and matlab says: Warning: Figure is saved in Sign_10Sep.mat. Saving graphics handle variables can cause the creation of very large files. To save graphics figures, use savefig. Do you know how to save the workfile without graphics? I manually save the figures separately. Thanks.

採用された回答

Stephen23
Stephen23 2016 年 9 月 10 日
If you don't want to save everything in your workspace, then don't save everything in your workspace. It really is that simple.
Read the save documentation, and you will find lots of options for selecting which variables to save, e.g. to save the two variable foo and baz, you would do this:
save('filename.mat','foo','baz')
save can also match variable names by regular expressions: read the doc to know more.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by