How to save graph in each iteration

I have a loop in my code that in each iteration is produced a graph. I want to save all of graphs in each iteration. If I use the following code, it will just overwriting.
print('figA','-djpeg')

回答 (1 件)

Star Strider
Star Strider 2015 年 7 月 4 日

0 投票

I usually use either saveas or savefig.

カテゴリ

ヘルプ センター および File ExchangePrinting and Saving についてさらに検索

質問済み:

Moe
2015 年 7 月 4 日

回答済み:

2015 年 7 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by