How to close block dialog box before it opens or hide it conditionally on Simulink?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Fangjun Jiang
le 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?
Réponses (0)
Voir également
Catégories
En savoir plus sur Model, Block, and Port Callbacks dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!