필터 지우기
필터 지우기

Standalone application execution problem

조회 수: 10 (최근 30일)
Muhammad Azlan Shah Bin Suhaimi
댓글: Walter Roberson 2021년 8월 16일
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
Walter Roberson
Walter Roberson 2021년 8월 7일
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.

댓글을 달려면 로그인하십시오.

답변 (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
Muhammad Azlan Shah Bin Suhaimi 2021년 8월 16일
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 SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by