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!