Reset a counter in a conditional subsystem

3 visualizaciones (últimos 30 días)
Thomas Marullo
Thomas Marullo el 8 de Jul. de 2014
Respondida: Thomas Marullo el 8 de Jul. de 2014
I want to conditionally start and stop a counter however when the counter is enabled again, I want it to reset. Is this possible in Simulink with an enabled subsystem? I'm not able to figure it out.

Respuesta aceptada

Thomas Marullo
Thomas Marullo el 8 de Jul. de 2014
Nevermind, I figured out that I need to change the enabled state from 'held' to 'reset' inside the Enabled Subsystem with the counter object.

Más respuestas (0)

Categorías

Más información sobre Subsystems en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by