How to include Report Generator in Standalone Applications?

16 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su MATLAB Report Generator in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by