which command should be used in Matlab to save a figure?

2 次查看(过去 30 天)
Hello all
I want to save the obtained figure as a file automatically. I don't have much idea how i can do it in Matlab. Please Help!!
Thanking you in anticipation.
Regards

采纳的回答

Image Analyst
Image Analyst 2014-5-27

更多回答(1 个)

Ioannis
Ioannis 2014-5-27
编辑:Ioannis 2014-5-27
You can use print and save it in pdf format. e.g. you just created a graph, then type print -dpdf nameofyourgraph and it will save it in your default matlab path

类别

Help CenterFile Exchange 中查找有关 Graphics Object Identification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by