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일

0 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2018년 9월 27일

답변:

2019년 1월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by