why report generator does not work when I deploy an app made by appdesigner?

1 vue (au cours des 30 derniers jours)
Hello.
I've made an app using appdesigner, which has a push button. In the button's callback, I've written a code which gives an output in HTML ( using matlab report generator). Everything works good when I run the app from appdesigner.
but when I make a standalone file of it ( using deploytool), all parts of the app works fine, except the push button which does not give HTML output.
What am I doing wrong?
Thanks for any help.

Réponse acceptée

Mahdi Hayati
Mahdi Hayati le 13 Mar 2022
Modifié(e) : Mahdi Hayati le 13 Mar 2022
I found the solution.
befor writing those " import mlreportgen....." add this code:
makeDOMCompilable();
it works.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by