Why is a blank page produced when printing from the figure menu while a function is running?

2 views (last 30 days)
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

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!