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

2 次查看(过去 30 天)
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 中查找有关 Deployment, Integration, and Supported Hardware 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by