Borrar filtros
Borrar filtros

Stateflow: Using State as transition condition

1 visualización (últimos 30 días)
moshe
moshe el 17 de Abr. de 2015
Respondida: moshe el 17 de Abr. de 2015
Does anybody know if I can use a state condition in parallel chart as a condition for transition? For example, when state b is active in subchart 2, a transition from x to y will occur, as seen in the drawing below:

Respuesta aceptada

Sebastian Castro
Sebastian Castro el 17 de Abr. de 2015
There are "implicit events" in Stateflow that let you check whether you're in a state, or a state has just been entered. For example
enter(2.b)
in(2.b)
Look at this link, which explains implicit events in more detail.
- Sebastian

Más respuestas (1)

moshe
moshe el 17 de Abr. de 2015
Thank You very much Sebastian!

Categorías

Más información sobre Complex Logic 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