Clear Filters
Clear Filters

How to supress mask dialog callbacks when block is opened?

3 views (last 30 days)
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.

Answers (0)

Categories

Find more on Author Block Masks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!