How to include Report Generator in Standalone Applications?

15 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Rahul Singhal
Rahul Singhal el 4 de Mzo. de 2020
Make sure to use makeDOMCompilable();

Más respuestas (0)

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by