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

4 ビュー (過去 30 日間)
Mahdi Hayati
Mahdi Hayati 2022 年 3 月 12 日
編集済み: Mahdi Hayati 2022 年 3 月 13 日
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 Center および File ExchangeDevelop 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