I have the following Matlab 2013b code:
subplot(2,2,1);plot(var([c1 c2],0,2)); title('var(c1,c2)');
subplot(2,2,2);plot(var([c3,c4],0,2));title('var(c3,c4)');
saveas(gcf,pth);
I would like to execute this code without opening a figure window in Matlab. Is this possible? If not, I would like the figure window to be minimized upon plotting.