Why is a blank page produced when printing from the figure menu while a function is running?
While a MATLAB function is running the command line is not accessible. However, MATLAB still allows me to print from the Menubar in a figure. This worked in Version 5.3 (R11), but no longer works in Version 6.x (R12.x).
The following code creates a situation in which the problem can be reproduced. Run the code and then try printing from the File menu on the figure.
function out = test();close all;surf(peaks);for i = 1:50; junk = eig(rand(100)); pause(0.1)end
Best Answer