フィルターのクリア

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

3 ビュー (過去 30 日間)
Fernando Sarracini Júnior
Fernando Sarracini Júnior 2022 年 7 月 29 日
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.
  3 件のコメント
Fernando Sarracini Júnior
Fernando Sarracini Júnior 2022 年 7 月 29 日
Yes, I am using App Designer, Standalone Desktop App (runtime downloaded from web, default settings).
%Code below:
makeDOMCompilable()
import mlreportgen.dom.*
import mlreportgen.report.*
rpt = Report('document','pdf');
open(rpt)
...
close(rpt)
rptview(rpt)
Fernando Sarracini Júnior
Fernando Sarracini Júnior 2022 年 7 月 30 日
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?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeTitle Pages, Tables of Contents, Lists of Figures, Tables, and Captions についてさらに検索

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by