How can I associate a callback with the link status of a block in Simulink?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have created some library blocks and I would like to issue a warning if the link to those blocks is ever broken. However, there does not appear to be a way to execute a callback based on the link status of a block.
Risposta accettata
MathWorks Support Team
il 27 Giu 2009
The ability to create a callback for the link status of a block is not available in Simulink.
To work around the issue, you can evaluate the link status of all the model's blocks in a model callback, such as the Model Initialization function.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Model, Block, and Port Callbacks in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!