Matlab Report Generator errors occasionally when closing the document, why?
24 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Yash
2023 年 12 月 26 日
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.
回答 (1 件)
Manikanta Aditya
2024 年 1 月 8 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Code Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!