errors in compiled application

6 次查看(过去 30 天)
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 Bblanc
Nathan Bblanc 2021-9-14
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 个)

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by