Generate C++ code from standalone stateflow chart

1 view (last 30 days)
How can I generate C++ code from Standalone stateflow Chart like the one described here https://nl.mathworks.com/help/stateflow/ug/sf4ml-lamp-example.html

Answers (1)

Priyanshu Mishra
Priyanshu Mishra on 29 Apr 2020
Hi Meram,
You can use Simulink Coder software to generate standalone C or C++ code from your Physical Networks models. you may refer to following documentation page for generating C/C++ code from Simulink.
Some features of Simscape software are restricted when you translate a model into code. See How Simscape Code Generation Differs from Simulink, as well as Limitations.

Categories

Find more on Simulink Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!