Temporal logic in condition

6 visualizaciones (últimos 30 días)
Arthur
Arthur el 4 de Nov. de 2014
Respondida: Joachim Schlosser el 6 de Nov. de 2014
Hello,
I have some temporal conditions in system logic, for example:
if (a>10 for 10 sec)
then doSomething
else
returnToParentState
I implemented this using additional "detected" states, but this solution looks weird and unclear. (See picture below).
May be there is another way to do this?

Respuesta aceptada

Joachim Schlosser
Joachim Schlosser el 6 de Nov. de 2014
Try with a junction. You need that junction because a trigger can only be stated before the condition in one transition.

Más respuestas (0)

Categorías

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