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

后端 未结 7 1110
灰色年华
灰色年华 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条回答
  •  旧时难觅i
    2020-12-13 09:48

    I don't think you can save it without it appearing, but just for saving in multiple formats use the print command. See the answer posted here: Save an imagesc output in Matlab

提交回复
热议问题