Temporal logic in condition

4 ビュー (過去 30 日間)
Arthur
Arthur 2014 年 11 月 4 日
回答済み: Joachim Schlosser 2014 年 11 月 6 日
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 Center および File ExchangeStateflow についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by