Generate C++ code from standalone stateflow chart

1 visualizzazione (ultimi 30 giorni)
Meram Salih
Meram Salih il 15 Apr 2020
Risposto: Priyanshu Mishra il 29 Apr 2020
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

Risposte (1)

Priyanshu Mishra
Priyanshu Mishra il 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.

Categorie

Scopri di più su Stateflow in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by