How to include Report Generator in Standalone Applications?

조회 수: 14 (최근 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();

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by