How to supress mask dialog callbacks when block is opened?

3 次查看(过去 30 天)
I had designed a masked subsystem that has dialog callbacks as well as initialization code. Each dialog parameter has a dialog callback which enables or disables some dialog parameters in the masked subsystem(based on some checkbox selection).
As per the mathworks documentation " You open the mask dialog box. Callback commands execute sequentially, starting with the top mask dialog box "
This is causing a problem. As the dialog callbacks execute sequentially when block is opened, the dialog parameters(enabling and disabling) are resetting as per the last dialog callbak code. I Just want to supress dialog callback execution only when block is opened .
Pl comment.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by