Temporal logic in condition
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Arthur
le 4 Nov 2014
Réponse apportée : Joachim Schlosser
le 6 Nov 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?
0 commentaires
Réponse acceptée
Joachim Schlosser
le 6 Nov 2014
Try with a junction. You need that junction because a trigger can only be stated before the condition in one transition.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Complex Logic dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!