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

3 ビュー (過去 30 日間)
Pratikshya Mishra
Pratikshya Mishra 2020 年 1 月 3 日
コメント済み: Pratikshya Mishra 2021 年 8 月 11 日
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 Center および File ExchangeModeling についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by