Why am I unable to print a figure through my application compiled through MATLAB Compiler 4.3 (R14SP3)?

3 Ansichten (letzte 30 Tage)
I am using the DEPLOYPRINT function to print a figure in my stand-alone application created with MATLAB Compiler 4.3 (R14SP3). When the application is run, the figure is displayed correctly. I then choose File -> Print from the figure menu, select a printer and click "Ok." However, a blank page is printed.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
This bug has been fixed in Release 2007a (R2007a). For previous product releases, read below for any possible workarounds:
This bug has been fixed in Release 2006a (R2006a). For previous product releases, read below for any possible workarounds:
There is a bug in MATLAB Compiler 4.3 (R14SP3) in the way that DEPLOYPRINT handles printing of figures when the PaperPositionMode is set to 'auto'.
To work around this issue, use the following call to set the PaperPositionMode to 'manual' before printing the figure:
set(gcf, 'PaperPositionMode', 'manual');

Weitere Antworten (0)

Kategorien

Mehr zu Printing and Saving finden Sie in Help Center und File Exchange

Produkte


Version

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by