Report generation toolbox gives warnings and no figures in R2011b
3 ビュー (過去 30 日間)
古いコメントを表示
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
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.*
0 件のコメント
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Report Generator についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!