How to execute a Matlab function block with a trigger as soon as a condition holds.
8 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I want to activate a Matlab function block as soon as a condition holds. In the attached figure, the two Matlab function blocks are triggered by using a delayer. However, it takes a time since a satisfying condition is true. I want to execute the function blocks as soon as the related conditions are satisfied. Could you help me find a way of doing that?
0 Commenti
Risposte (2)
Udaya Mallampati
il 31 Lug 2015
Hi Jin,
You can put your MATLAB function block inside an inside an Enabled and Triggered Subsystem as indicated in this link .
Hope this helps!
0 Commenti
Anatolii Tcai
il 18 Ott 2018
Just press Edit Data button and there you can choose Add Trigger from the menu 'ADD' or by pressing corresponding button.
0 Commenti
Vedere anche
Categorie
Scopri di più su Sources in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!