How to save a figure in MATLAB from the command line?

后端 未结 7 1100
灰色年华
灰色年华 2020-12-13 09:16

Is there a command in MATLAB which allows saving a figure in FIG or JPEG or both formats automatically?

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-13 09:43

    If you want to save it as .fig file, hgsave is the function in Matlab R2012a. In later versions, savefig may also work.

提交回复
热议问题