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

114 views (last 30 days)
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!

Accepted Answer

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

More Answers (0)

Categories

Find more on Printing and Saving in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!