How to include Report Generator in Standalone Applications?

10 ビュー (過去 30 日間)
Vittorio Martini
Vittorio Martini 2020 年 3 月 4 日
コメント済み: Vittorio Martini 2020 年 3 月 5 日
Hi,
I created an executable which at the end should launch the Report Generator. In the script I import:
import mlreportgen.report.*
import mlreportgen.dom.*
And running the script gives no issues. Instead, when I run the executable, this is the message I get on the log file:
Unable to check out a Report Generator license. Reason:
Error in mlreportgen.report.internal.Document/open
Error in mlreportgen.report.ReportBase/openImpl
Error in mlreportgen.report.ReportBase/open
Error in mlreportgen.report.ReportBase/add
How can I include the licence, or whatever is needed for the executable to run properly?
Thank you very much for your help.

採用された回答

Rahul Singhal
Rahul Singhal 2020 年 3 月 4 日
Make sure to use makeDOMCompilable();
  1 件のコメント
Vittorio Martini
Vittorio Martini 2020 年 3 月 5 日
Thank you very much, it works now!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by