我正在尝试从matlab中获取神经网络功能的一些图像。我正在使用的功能之一是:
plotsomplanes(净值)
无论如何我无法在PNG文件中自动保存绘图。 提前感谢任何帮助或想法。
答案 0 :(得分:2)
试试这个。它将保存您当前工作目录中的数字。请参阅saveas
here
close all;
figure('visible','off');
plotsomplanes(net);
saveas(gcf,'filename','format'); %// in this case format is png
close