Stand-alone rptconvert generates zero byte pdf

조회 수: 1 (최근 30일)
Joy
Joy 2015년 12월 3일
답변: Yuebin Zhou 2015년 12월 7일
My MATLAB version is Matlab2011a 32bit. I used rptconvert command to covert one XML file into PDF file. I used my own stylesheet. The code worked perfectly fine in the source code environment. However, after I compiled the source code, stand-alone EXE generated 0bytes PDF. The log file contains the message below. Is there work around for this issue? Do I need to modify style sheet to make it work correctly?
Thanks!
Joy -----------------------------------------Log File-------------------------------------------------------------------------------------- Converting file "C:\WUTemp\RPT_StandAlone_Error\Stand_Alone\Deploy_mcr\Deploy\AlignmentReport.xml" Dec 3, 2015 12:39:35 PM org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-height set to: 11in
Dec 3, 2015 12:39:35 PM org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-width set to: 8.26in
Conversion error: "Undefined variable "com" or class "com.mathworks.toolbox.rptgencore.tools.FOPEventListener"."
File conversion complete

답변 (1개)

Yuebin Zhou
Yuebin Zhou 2015년 12월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by