How do I model and generate code for C constructs using Simulink, Stateflow, and Embedded MATLAB?

1 view (last 30 days)
I have a model with Simulink blocks, Stateflow charts, and Embedded MATLAB functions. I would like more information on how to modify the model to generate popular C constructs using Real-Time Workshop Embedded Coder.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
A reference guide and example models on generating popular C constructs from Simulink blocks, Stateflow charts, and Embedded MATLAB functions can be found in the Related Documents section of this solution. The reference guide shows the mapping of selected C constructs to a model and its generated code. Steps and model files used to create the model and generate the code are also included.
For additional information on Stateflow design patterns, please see the Related Solutions section.

More Answers (0)

Categories

Find more on Architecture and Component Design in Help Center and File Exchange

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!