Filter löschen
Filter löschen

How to use array elements as transition condition in stateflow

2 Ansichten (letzte 30 Tage)
TEJAS PHUTANE
TEJAS PHUTANE am 19 Mai 2020
Kommentiert: Kavya Vuriti am 2 Jul. 2020
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?

Antworten (0)

Kategorien

Mehr zu Complex Logic finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by