Matlab Report Generator errors occasionally when closing the document, why?
25 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am using the Matlab Report Generator to build and save a PDF report. Occasionally when it is building the reports I will get many errors when I clsoe the report.
Error using mlreportgen.internal.fop.createFOPObject
Failed to create file modification time character vector.
Error in mlreportgen.internal.fop.createFOPObject
Error in mlreportgen.internal.fop.createFOPObject
Error in mlreportgen.internal.fop.foToPDF
Error in mlreportgen.report.ReportBase/close
Error in
close(MeasReport);
2 comentarios
Yash
el 26 de Dic. de 2023
Hi Ching Ning Liu
I understand that you are facing issues while building and saving a PDF report. Kindly ensure that the files that you are using are added to the path.
However the error appears to be very specific to your code. Kindly share the files using the attachments option for a better resolution.
Respuestas (1)
Manikanta Aditya
el 8 de En. de 2024
Hi Ching,
As per my understanding, you are using MATLAB Report Generator to build and save a PDF project, then occasionally you are facing errors while closing the reports.
For the document close error, there should be a ‘*_FO’ directory created in the working directory when a report was created. If the creation of that report failed for some reason, that directory is remained and prevents additional reports using the same name. Deleting that directory might resolve this issue.
I would recommend you to try the following troubleshooting steps to see if you can resolve the issue at hand.
Memory Usage: The Report Generator software has two converters for generating documents. One uses Java heap memory and the other does not. To avoid Java heap memory issues, you can generate your report using the converter that does not use Java heap memory.
I recommend you to check the following references to know about:
- Troubleshooting Report Generation Issues: https://www.mathworks.com/help/rptgen/ug/troubleshooting.html
Please refer to the following MATLAB Answer to know more about the issue at hand:
I hope this resolves the issue you were facing.
0 comentarios
Ver también
Categorías
Más información sobre MATLAB Code Analysis en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!