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

1 visualización (últimos 30 días)
Cau Tran
Cau Tran el 17 de Mayo de 2022
Respondida: Rishav el 13 de Sept. de 2023
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

Respuestas (1)

Rishav
Rishav el 13 de Sept. de 2023
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

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by