stateflow action language if else construct

6 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)

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 27 Oct 2013
Edited: Azzi Abdelmalek on 27 Oct 2013

More Answers (1)

Xiaohong shen
Xiaohong shen on 18 Feb 2014
It doesn't work, I have R2013a;

Categories

Find more on Complex Logic in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!