Matlab - How to save view configuration of matlab neural network -



Matlab - How to save view configuration of matlab neural network -

i trying configure neural network using matlab , newff command.

after that, trying visualize created configuration using view command.

x = view(net);

how can save displayed window .png file? have tried saveas(x, 'figure.png', 'png') won't work? know how can code?

the created window pure java figure (not matlab handle graphics). seek capture it:

%# neural net, , view net = feedforwardnet(5); jframe = view(net); %# create in matlab figure hfig = figure('menubar','none', 'position',[100 100 565 166]); jpanel = get(jframe,'contentpane'); [~,h] = javacomponent(jpanel); set(h, 'units','normalized', 'position',[0 0 1 1]) %# close java window jframe.setvisible(false); jframe.dispose(); %# print file set(hfig, 'paperpositionmode', 'auto') saveas(hfig, 'out.png') %# close figure close(hfig)

neural-network matlab matlab-figure

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -