How to display the value of a variable used in a Constant (Simulink) block under it?
이전 댓글 표시
Hello,
I have in the Matlab workspace a variable named 'c_veh_speed_lim_kph' with the value of 120. In Simulink I use the same variable in a Constant block.
How can I display in the Simulink model the value of the variable under the block name? This I want to do it automatically. If for example I change the value in the workspace to 130 I want to see the same value displayed under the Constant block.
Thank you.
Best regards,
Laurentiu
답변 (1개)
Rick Rosson
2014년 9월 1일
0 개 추천
Please review the following:
The Block Annotations tab will allow you to display the value of the constant.
카테고리
도움말 센터 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!