I wanna trigger a subsystem when it sees rising edge for the first time and disable the subsystem permanently when it sees the falling edge for the first time. How can we achieve this using Enable & triggered subsystems block?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I wanna trigger a subsystem when it sees rising edge for the first time and disable the subsystem permanently when it sees the falling edge for the first time. How can we achieve this using Enable & triggered subsystems block? Is there any other method or block to achieve the same?
Thanks
2 commentaires
TAB
le 27 Fév 2013
Are you open to use stateflow? Implementing complex logical requirements are much simpler with Stateflow.
Kaustubha Govind
le 27 Fév 2013
If you'd like to continue using Triggered Subsystem, you will need to construct a pulse signal for the trigger signal, which only rises once. If it never has a rising edge again, the subsystem will never run again.
Voir également
Catégories
En savoir plus sur Schedule Model Components dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!