我正在尝试从Matlab中的神经网络功能中获取一些图像。我正在使用的功能之一是:
地块(净额)
无论如何,我都找不到自动将图保存到PNG文件中的功能。在此先感谢您的帮助或想法。
试试这个。它将把图形保存在您当前的工作目录中。请参阅此处的文档saveas
close all;
figure('visible','off');
plotsomplanes(net);
saveas(gcf,'filename','format'); %// in this case format is png
close
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句