Standalone application execution problem

5 次查看(过去 30 天)
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 个评论
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.

请先登录,再进行评论。

回答(2 个)

Image Analyst
Image Analyst 2021-8-7
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 个评论
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 2021-8-16
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

请先登录,再进行评论。


Walter Roberson
Walter Roberson 2021-8-7
The Symbolic Toolbox cannot be compiled.

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by