How to use array elements as transition condition in stateflow

1 回表示 (過去 30 日間)
TEJAS PHUTANE
TEJAS PHUTANE 2020 年 5 月 19 日
コメント済み: Kavya Vuriti 2020 年 7 月 2 日
I have a vector input to stateflow chart a =[1 4 1 3 3 2 1 4 1] In first state I am defining i=0 Initially in first state i is incremented by 1,there are two transitions for other two states. In first transition condition: [a[i]==1] for second [a[i]==2].The second condition is true and third condition is false so the transition occurs to second state. The problem is the transition stops in first state itself.any syntax error?
  1 件のコメント
Kavya Vuriti
Kavya Vuriti 2020 年 7 月 2 日
Could you share the screenshot of chart or the model itself.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeComplex Logic についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by