Borrar filtros
Borrar filtros

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?

3 visualizaciones (últimos 30 días)
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 comentarios
TAB
TAB el 27 de Feb. de 2013
Are you open to use stateflow? Implementing complex logical requirements are much simpler with Stateflow.
Kaustubha Govind
Kaustubha Govind el 27 de Feb. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Ryan G
Ryan G el 27 de Feb. de 2013
Editada: Ryan G el 27 de Feb. de 2013
This actually isn't to tough to implement with an extra enabled subsystem. Long term, if you have a lot of logic controlling the system, stateflow is the proper choice.

Categorías

Más información sobre Schedule Model Components en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by