Let's say I have two Edit Field (Numeric) in App Designer, and I have a Model in Simulink that just add two numbers, how can I get the result from this Model?
I already tried to use assignin() in AppDesigner with the callback function, and run the model through sim(), but I always get error, or the value just don't pop up. Is it possible to do what I want, or the connection between Simulink and AppDesigner is just through signal problems in a certain time?

답변 (1개)

Askkalon
Askkalon 2019년 10월 12일

0 개 추천

No need for help, I made it.
If anyone else has this doubt, just ask here.

댓글 수: 2

Messabih Mohamed
Messabih Mohamed 2020년 3월 2일
how you did ? please
jingye wang
jingye wang 2020년 12월 16일
"get_param" or you can use "simout" block,then get data from matlab workspace in appdesigner

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

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2019년 10월 12일

댓글:

2020년 12월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by