How can i collect output port data from Simulink model to GUI using get_param?

3 次查看(过去 30 天)
How can i collect output port data from Simulink model to GUI using get_param?
In the below example,we are able to pass the values of Num1 and Num 2 through the GUI using set_param([bdroot,'/Num1'],'Value',num2str (app.EditField.Value)).But we are unable to collect the output data from simulink model to GUI using get_param.Please share your response.
question.JPG

回答(1 个)

Ankit
Ankit 2020-1-10
You want to use specifically get_param?
You can find my submission on how to control Simulink Model from MATLAB App based on event listener:

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by