How to detect change when a block parameter is modified?
显示 更早的评论
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
2015-7-18
0 个投票
not sure, but check if you can use event listeners.
类别
在 帮助中心 和 File Exchange 中查找有关 Event Functions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!