필터 지우기
필터 지우기

Report generation toolbox gives warnings and no figures in R2011b

조회 수: 6 (최근 30일)
Alex Knight
Alex Knight 2011년 11월 4일
댓글: Rajesh 2014년 11월 10일
Code using the report generation toolbox that works fine under r2010b gives the following warning on r2011b:
Converting report
log4j:WARN No appenders could be found for logger (org.apache.fop.util.ContentHandlerFactoryRegistry).
log4j:WARN Please initialize the log4j system properly.
Report complete
The resulting PDF has the figures missing, although the rest of the report is there. Does anyone understand what's going on here?
Thanks
Alex

답변 (2개)

Sean de Wolski
Sean de Wolski 2013년 4월 16일
The “log4j: WARN. . .” is due to a bug in the MATLAB and Simulink Report Generators.
The bug was fixed for R2012a where an error message is thrown to inform you that there was a Java out of memory error.
As a workaround you can increase the Java heap space for MATLAB. You can find the Java heap space setting in the MATLAB Preferences under
*File -> Preferences -> General -> Java Heap Space.*

Iain
Iain 2013년 4월 16일
편집: Iain 2013년 4월 16일
I've been struggling with this problem for a few hours now.
I cannot explain why it works, but I have found that if I copy the report template to a new file, and change where the report is generated, that I can in fact generate reports that contain the figures I expect them to.
Once the report is generated in a temporary location, you can simply move it to where you want it.

Community Treasure Hunt

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

Start Hunting!

Translated by