How can i get the value of a display block to a GUI?

Hi
I'm currently working on a simulink model control by GUI. I have some display blocks in the model and i want to take the values from the display blocks to my GUI. I try to use get_param('SimulinkModel/BlockName','Parameter') but i can't find the proper parameter who'll give me the display value.
Do you have some suggestions?
Thx for your answers

2 件のコメント

snow John
snow John 2019 年 10 月 5 日
Hello sir,Did you solve this problem?
I need your help and try to get the value of Display block and seed to a GUI.
-John
KA The Times
KA The Times 2020 年 4 月 21 日
Hi, if anyone knows how, please share. Getting value from display block and sending it to GUI

サインインしてコメントする。

回答 (1 件)

Arunkumar Muthukumaran
Arunkumar Muthukumaran 2015 年 12 月 19 日

0 投票

Values displayed in Display block cannot be accessed by get_param() command. One of the possibilities is to pass the signal to MATLAB function and then update GUI handle to display values dynamically.

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

質問済み:

2014 年 2 月 28 日

コメント済み:

2020 年 4 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by