MATLAB Answers

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

4 views (last 30 days)
Pratikshya Mishra
Pratikshya Mishra on 3 Jan 2020
Commented: Pratikshya Mishra on 11 Aug 2021
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

Tags

Community Treasure Hunt

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

Start Hunting!