Filter löschen
Filter löschen

Standalone application execution problem

10 Ansichten (letzte 30 Tage)
Muhammad Azlan Shah Bin Suhaimi
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
Walter Roberson
Walter Roberson am 7 Aug. 2021
Does it use the symbolic toolbox?
Muhammad Azlan Shah Bin Suhaimi
yes for graphical display to show the speech before and after endpointdetection. When try to record the voice, it make an error sound. But whe running in matlab, it can be executed normally.

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Image Analyst
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
Muhammad Azlan Shah Bin Suhaimi
Warning: Error occurred when parsing the ImageSource value.
> In matlab.ui.control.internal.controller.ImageController/getImagePropertiesForView (line 189)
In matlab.ui.control.internal.controller.ImageController/getPropertiesForView (line 55)
In appdesservices.internal.interfaces.controller.mixin.ViewPropertiesHandler/getPVPairsForView (line 248)
In appdesigner.internal.serialization.util.ComponentObjectToStructConverter/buildComponentData (line 65)
In appdesigner.internal.serialization.util.ComponentObjectToStructConverter/buildComponentHierarchicalData (line 35)
In appdesigner.internal.serialization.util.ComponentObjectToStructConverter/buildComponentHierarchicalData (line 55)
In appdesigner.internal.serialization.util.ComponentObjectToStructConverter/buildComponentHierarchicalData (line 55)
In appdesigner.internal.serialization.util.ComponentObjectToStructConverter/buildComponentHierarchicalData (line 55)
In appdesigner.internal.serialization.util.ComponentObjectToStructConverter/getConvertedData (line 22)
In appdesigner.internal.application.loadApp (line 96)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Did you know? what is these kind of problems?
Walter Roberson
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

Melden Sie sich an, um zu kommentieren.


Walter Roberson
Walter Roberson am 7 Aug. 2021
The Symbolic Toolbox cannot be compiled.

Kategorien

Mehr zu MATLAB Compiler SDK 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!

Translated by