errors in compiled application

8 views (last 30 days)
nathan blanc
nathan blanc on 16 Jul 2021
Commented: Muhammad on 25 Sep 2022
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

Accepted Answer

nathan blanc
nathan blanc on 14 Sep 2021
What fixed the issue for me was uninstalling matlab runtime (which was already installed) and let the app installer install it by itself
  1 Comment
Muhammad
Muhammad on 25 Sep 2022
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).

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!