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

30 visualizzazioni (ultimi 30 giorni)
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!

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Printing and Saving in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by