OO code generation from Simulink

조회 수: 10 (최근 30일)
Amin Mannani
Amin Mannani 2018년 9월 27일
답변: Mark McBroom 2019년 1월 11일
How can an OO C++ code be generated from a Simulink model such that every subsystem in the model boils down to a class which can call the methods of other classes? If it is possible, how? If not, what is the alternative?

채택된 답변

Mark McBroom
Mark McBroom 2019년 1월 11일
If you use Embedded Coder and select C++ code generation, you can get a C++ class for each referenced model in the system. It is not posisble to get a C++ class for each subsystem in the model.

추가 답변 (0개)

카테고리

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