How to use savefig to save .fig to a specific location?

31 vues (au cours des 30 derniers jours)
Xh Du
Xh Du le 23 Mar 2017
Hi all,
I'd like to use savefig to save .fig files to a specific location, such as:
savefig('test.fig')
to here:
/home/usr/Desktop/myFolder
Any ideas? Thank you!

Réponse acceptée

Aniruddha Katre
Aniruddha Katre le 23 Mar 2017
You can just pre-pend the path to the filename. For example,
savefig('C:\Test\test.fig')

Plus de réponses (0)

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