MATLAB: How to use savefig to save .fig to a specific location

figurepathsavefig

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!

Best Answer

You can just pre-pend the path to the filename. For example,
savefig('C:\Test\test.fig')
Related Question