I am trying to save all the GUI while it is running using a button (based App designer). I used gca and as expected it only save the axes (using gcf result a white image), any idea how to solve it? and how I block Figure 1 from popping up?
code:
function saveGUIButtonPushed(app, event)
guiImage = gca;
exportgraphics(guiImage,'E:/screenExportgraphics.tif','Resolution',500)
disp('done');
end