Standalone application execution problem
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhammad Azlan Shah Bin Suhaimi
am 7 Aug. 2021
Kommentiert: Walter Roberson
am 16 Aug. 2021
I can run the function while use the matlab but when I have deploy matlab apps desinger into standalone application, in the apps, the application cannot be executed
2 Kommentare
Antworten (2)
Image Analyst
am 7 Aug. 2021
And does it use any applets that have a user interface such as imtool, ClassificationLearner, ColorThresholder, etc.? Did it actually create a standalone .exe file? Please attach the mccExcludedFiles.log that the compiler creates.
Were there any warnings about path during compilation?
Do you read in any data files during run time using a path that is not fully complete, like it's only a relative path? Did you include those files with the -a option of mcc? Paths hard coded into your program need to start with the root folder or drive letter, not from your "current" folder since the real executable folder is not where you think it is (it's not where your .exe lives believe it or not).
Have you read the FAQ:
14 Kommentare
Walter Roberson
am 16 Aug. 2021
I suspect that it was working on a uiimage() call, but it could not understand the ImageSource that you supplied to it.
It just might have been in the stage of loading the application icon, maybe https://www.mathworks.com/matlabcentral/answers/499810-how-can-i-change-the-title-bar-icon-of-my-app#answer_559353
Siehe auch
Kategorien
Mehr zu MATLAB Compiler finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!