How to include Report Generator in Standalone Applications?

8 views (last 30 days)
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.

Accepted Answer

Rahul Singhal
Rahul Singhal on 4 Mar 2020
Make sure to use makeDOMCompilable();

More Answers (0)

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!