필터 지우기
필터 지우기

Runtime error in compiled standalone

조회 수: 3 (최근 30일)
fatemeh p
fatemeh p 2020년 10월 16일
댓글: fatemeh p 2020년 10월 17일
Hi
I wrote a code whitch gets some input and compute some parameters at the end
Now I want to get an exe file of it so everyone can use it
I am doing it using deploytool, the problem is, when i run the final app, a black window comes and sunddenly disappears with an error that there is an unrecognized function named "syms" while the source runs fine within matlab.
How can i use deploypool without getting errors for functions in my code?
and also, i get the parameters at the end just by not putting semicoloums. it seems that it is not possible in exe mode.
is there anything that i should add to my code to have the output?
thanks

채택된 답변

Steven Lord
Steven Lord 2020년 10월 16일
"Creation of symbolic expressions, such as using sym, syms, and str2sym" in a standalone application created with MATLAB Compiler is not supported.
  댓글 수: 5
Walter Roberson
Walter Roberson 2020년 10월 17일
linear systems like that can be solved with the \ operator
fatemeh p
fatemeh p 2020년 10월 17일
Thank you very much
It worked
Just the last question
how can i make the black window not disappear suddenly after showing the results?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Function Creation에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by