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?

Antworten (1)

Askkalon
Askkalon am 12 Okt. 2019

0 Stimmen

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

2 Kommentare

Messabih Mohamed
Messabih Mohamed am 2 Mär. 2020
how you did ? please
jingye wang
jingye wang am 16 Dez. 2020
"get_param" or you can use "simout" block,then get data from matlab workspace in appdesigner

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018b

Gefragt:

am 12 Okt. 2019

Kommentiert:

am 16 Dez. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by