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

4 次查看(过去 30 天)
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.

采纳的回答

Mahdi Hayati
Mahdi Hayati 2022-3-13
编辑:Mahdi Hayati 2022-3-13
I found the solution.
befor writing those " import mlreportgen....." add this code:
makeDOMCompilable();
it works.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by