PDF Report Genetaror issue in 2021a when running standalone compiled version

2 次查看(过去 30 天)
Hello, I need a help, I am facing an issue when trying to run PDF generator (rpt = Report('document','pdf')) in a compiled Standalone APP. I already tryied to include makeDOMCompilable() before the import commands (import mlreportgen.dom.* / import mlreportgen.report.*), but it does not work. It just work inside Matlab. I have an issue after compiling the APP.
This is 2021a Matlab version.
  4 个评论
Fernando Sarracini Júnior
I just got to locate the root cause for this issue, but I don´t know how to solve. The following lines of codes work inside Matlab environment, however they don´t work for compiled version in App Designer:
exportgraphics(UIAxes,'myplots1.png','Resolution',300)
plot1 = Image(which("myplots1.png"));
append(d, plot1);
Any suggestion?
Moein Siadaty
Moein Siadaty 2025-1-6
编辑:Moein Siadaty 2025-1-6
Could you solve it? I have the same problem. the compiled app generates the pdf report which its size is zero kB

请先登录,再进行评论。

回答(0 个)

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by