HOW TO HAVE MULTIPLE CLASSES ON EMBEDDED CODER FOR C++

조회 수: 8 (최근 30일)
Cau Tran
Cau Tran 2022년 5월 17일
답변: Rishav 2023년 9월 13일
I would like to have multiple classes on a Simulink file on Embedded coder for C++. I mean that, If I use embedded coder for code generation function, in one file simulink, I want to have many classes for the generated code.
Can you help me to get a solution for this issue? Thanks so much

답변 (1개)

Rishav
Rishav 2023년 9월 13일
Hi Cau,
To have different classes for the generated code, you can use subsystems or referenced models to partition your model into logical sections. Each subsystem or referenced model can correspond to a separate class in your generated code.
Thank you,
Rishav Saha

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by