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

조회 수: 4 (최근 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
MathWorks Support Team 2009년 6월 27일
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