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

59 次查看(过去 30 天)
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!

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by