How to close block dialog box before it opens or hide it conditionally on Simulink?
2 views (last 30 days)
Show older comments
Hello,
I am trying to create a custom masked block, but when some conditions met -defined in callback script- I don't want the block dialog box not to open at all.
I have tried to do this from the callback script but got no results because block dialog box always open after script completely executed, actually at this point I feel like my hands are tied. I have also tried to change block callbacks, still no success.
Any help would be appreciated, thanks in advance!
2 Comments
Fangjun Jiang
on 20 Nov 2018
Providing an example would be helpful. What callback function did you put in? What two conditions and scripts you have now that would open or not open the block dialog?
Answers (0)
See Also
Categories
Find more on Model, Block, and Port Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!