Stateflow chart transient between state by time expired

8 visualizaciones (últimos 30 días)
Jack Daniels
Jack Daniels el 17 de Sept. de 2025
Respondida: Jack Daniels el 18 de Sept. de 2025
I have a simple state machine and I need to transition between stage1 and stage2 based time elapsed.
I would like to transition from stage1 to the stage2 after some time is expired (100msec).
How should I set the transition condition?

Respuesta aceptada

Jack Daniels
Jack Daniels el 18 de Sept. de 2025
I can use "after" event to transition from stage1 to stage2 ... and back and forth

Más respuestas (0)

Categorías

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

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by