about saving figure while doing other things

2 ビュー (過去 30 日間)
Weiqian Jiang
Weiqian Jiang 2016 年 12 月 5 日
回答済み: Weiqian Jiang 2016 年 12 月 6 日
Hi there, I used ' saveas(gcf,'pic_name')' to save my matlab figures, when running my code, I watched movies on computer, to my surprise, the pictures I saved were all those in my movies, so I gave my figure a handle(h = figure), then used ' saveas(h,'pic_name')', but still I got pictures saved in my movies. I wonder how I could save figures in matlab while I was doing something else on my computer? Many thanks!

採用された回答

Weiqian Jiang
Weiqian Jiang 2016 年 12 月 6 日
Hi there, I've replaced the saveas function with print function, and used 'figure(handle) and print(handle)' instead of 'handle = figure and saveas(handle)', and my problem is solved.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by