简体   繁体   English

如何在禁用GUI的计算机上保存Matlab图形

[英]How to save a matlab figure on a GUI disabled machine

I am working on a machine wherein the graphics option has been disabled in the matlab . 我正在使用其中在matlab中禁用了图形选项的机器。 I am trying to save a matlab figure which has been rendered using imshow command , and oven that some lines has been plotted on it . 我正在尝试保存使用imshow命令渲染的matlab图形,并在其上绘制一些线条。 I tried to switch off the figure handle , but everytime it return the following error : 我试图关闭图形手柄,但是每次它返回以下错误:

IMSHOW unable to display image.

Is there any way of saving the figure ? 有什么办法保存身材吗?

PS: I know I can work on the image matrix and then imwrite it but I want to directly save the figure handle . PS:我知道我可以处理图像矩阵,然后将其覆盖,但是我想直接保存图形手柄。

Look at imsave. 保存。

It allows you to save the content of a figure using its handles: imsave(Figure_handles) 它允许您使用图柄保存图形的内容: imsave(Figure_handles)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM