stateflow action language if else construct
5 views (last 30 days)
Show older comments
p fontaine
on 27 Oct 2013
Answered: Xiaohong shen
on 18 Feb 2014
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)
0 Comments
Accepted Answer
Azzi Abdelmalek
on 27 Oct 2013
Edited: Azzi Abdelmalek
on 27 Oct 2013
Look at
http://www.mathworks.com/help/stateflow/ug/what-is-matlab-action-language_bs8a3x7.html http://www.mathworks.com/help/stateflow/release-notes.html
You can see that you can do it with R2010b
0 Comments
More Answers (1)
See Also
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!