Temporal logic in condition

1 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by