Stateflow Action Language advantages?

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

Products

Release

R2021b

Asked:

on 24 May 2022

Answered:

on 18 Sep 2023

Community Treasure Hunt

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

Start Hunting!