MATLAB Answers

stateflow action language if else construct

37 views (last 30 days)
My question deals with the action language used by Stateflow :
when I use something like
during:
if (i==2)
x = 1;
I got an execution saying : Unresolved function 'if' in ...
It seems that if/else constructs are not supported
Is that true ?
(I am using R2010a)

More Answers (1)

Community Treasure Hunt

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

Start Hunting!