MATLAB: Is a blank page produced when printing from the figure menu while a function is running

6.06.16.xexecutefunctioninterruptMATLABpreviewprintprintingwindow

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

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, please read below for any possible workarounds:
This is a bug in MATLAB Version 6.x (R12.x). Our development staff has been notified and is currently looking into addressing this problem in a future release of MATLAB.
There are no known workarounds at this time.