How to save graph in each iteration

3 vues (au cours des 30 derniers jours)
Moe
Moe le 4 Juil 2015
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')

Réponses (1)

Star Strider
Star Strider le 4 Juil 2015
I usually use either saveas or savefig.

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by