I have created an application in matlabs' app designer.
when running the app through matlab (by opening app designer and clicking "run"), everything works fine. everything also works fine if I package the app to a matlab app. however, when I compile the app and run the compiled file I get an error sound and the app malfunctions. following This Link, I tried to run the stand alone application through the command prompt but still didn't get any error messages or warnings.
During compilation I got the following messages in the log:
Warning: MATLAB preference entry "SMTP_Username" has been removed.
Warning: MATLAB preference entry "SMTP_Password" has been removed.
But I don't think they are related
would be thankful for any assistance
Nathan

 採用された回答

Nathan Blanc
Nathan Blanc 2021 年 9 月 14 日

0 投票

What fixed the issue for me was uninstalling matlab runtime (which was already installed) and let the app installer install it by itself

1 件のコメント

Muhammad
Muhammad 2022 年 9 月 25 日
I have a similar issue. But uninstaling and reinstaling runtime didn't fix it. any suggestions? (https://www.mathworks.com/matlabcentral/answers/1807715-app-works-fine-in-matlab-but-fails-to-work-after-deployment).

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Develop Apps Using App Designer についてさらに検索

製品

リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by