Error closing Matlab Report Generator when compiled
6 ビュー (過去 30 日間)
古いコメントを表示
I have a code which generates a .pdf report using the Matlab Report Generator. It works well when running it using matlab. However, after it is compiled to a .NET assembly for use with a C# web application using the Library compiler, the code runs completely until it is supposed to close the .pdf. I then get an error for "Error closing document package: fl:filesystem:PathNotFound". At this point there is a 0kb .pdf report available in the working directory. The FO folder is deleted. I have tried adding the working directory to the matlab runtime path, but that did not help
0 件のコメント
採用された回答
Eric
2018 年 2 月 8 日
Do you get this error when generating a very simple PDF with only text content? Can you provide a simple example where it works in MATLAB but fails outside of MATLAB.
2 件のコメント
Eric
2018 年 2 月 8 日
Why can't you include your logo inside a template?
https://www.mathworks.com/help/rptgen/report-templates.html
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!