How to supress mask dialog callbacks when block is opened?

3 ビュー (過去 30 日間)
venkat
venkat 2014 年 6 月 18 日
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 Center および File ExchangeSubsystems についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by