필터 지우기
필터 지우기

How to detect change when a block parameter is modified?

조회 수: 5 (최근 30일)
Putt
Putt 2015년 7월 17일
답변: Shivaputra Narke 2015년 7월 18일
I would like to be able to constrain Simulink block parameters (any parameters displayed by get(gcbh)) to only allowable values so that when wrong values are entered, a warning will be generated. Is there a callback function that is invoked when someone changes a block parameter (such as OverrideUsingVariant)?

답변 (1개)

Shivaputra Narke
Shivaputra Narke 2015년 7월 18일
not sure, but check if you can use event listeners.

카테고리

Help CenterFile Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by