Assign files' handles after plot them

Hello,
I have several plotted figures and I'd like to save set of them into sinlge file. Help seach shows that this is possible by
savefig(h,'xxx.fig');
command, where h has to be array of handles of plotted figures.
How can I perform such assignement of h components for already plotted figures, if I didn't do this during plotting?
Thanks!

 採用された回答

Valeriy
Valeriy 2021 年 5 月 25 日

0 投票

I have found answer:
figHandles = findall(0,'Type','figure');
savefig(figHandles,'AllFigs.fig');

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating, Deleting, and Querying Graphics Objects についてさらに検索

タグ

質問済み:

2021 年 5 月 25 日

編集済み:

2021 年 5 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by