Stateflow Action Language advantages?

1 view (last 30 days)
Tariq Rafiq
Tariq Rafiq on 24 May 2022
Answered: Joel on 18 Sep 2023
Hello,
This link provides the differences between the C and MATLAB action languages, but I was wondering if there was a distinct advantage in using one over the other (i.e one generates more efficient code, one is standard/preferred, etc.)?
Thanks for the help.

Answers (1)

Joel
Joel on 18 Sep 2023
Hello Tariq,
The main reason for having two action languages within Stateflow is to accommodate user preferences. Although there are some minor functionalities that are supported in MATLAB versus C and vice-versa, there are no real advantages of using one language over the other.
Hope this clarifies your query!
Joel Jacob

Categories

Find more on Complex Logic in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!