OO code generation from Simulink

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?

 Respuesta aceptada

Mark McBroom
Mark McBroom el 11 de En. de 2019

0 votos

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.

Más respuestas (0)

Categorías

Más información sobre Simulink Coder en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 27 de Sept. de 2018

Respondida:

el 11 de En. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by