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

2 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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');

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

产品


版本

R14SP1

Community Treasure Hunt

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

Start Hunting!

Translated by