How to supress mask dialog callbacks when block is opened?

3 vues (au cours des 30 derniers jours)
venkat
venkat le 18 Juin 2014
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.

Réponses (0)

Catégories

En savoir plus sur Subsystems dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by