필터 지우기
필터 지우기

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

조회 수: 10 (최근 30일)
Clément
Clément 2014년 2월 28일
댓글: KA The Times 2020년 4월 21일
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일
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.

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by