Report generation toolbox gives warnings and no figures in R2011b
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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
Respuestas (2)
Sean de Wolski
el 16 de Abr. de 2013
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 comentarios
Iain
el 16 de Abr. de 2013
Editada: Iain
el 16 de Abr. de 2013
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 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!