Generate C++ code from standalone stateflow chart

조회 수: 1 (최근 30일)
Meram Salih
Meram Salih 2020년 4월 15일
답변: Priyanshu Mishra 2020년 4월 29일
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

답변 (1개)

Priyanshu Mishra
Priyanshu Mishra 2020년 4월 29일
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.

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by