ert_main.c not generated

16 visualizaciones (últimos 30 días)
Angelo Salvatore Graceffa
Angelo Salvatore Graceffa el 8 de Jul. de 2016
Respondida: Jesús Zambrano el 7 de Feb. de 2020
I have an problem with the automatically code generation from a Simulink project. When I try to generate c code, this generate only the code related at subsystem selected but the ert_main.c is not generated. why? how I can avoid this problem? I need ert_main.c because I'm working at a project for the university. Thank you for your support

Respuestas (1)

Jesús Zambrano
Jesús Zambrano el 7 de Feb. de 2020
Hi Angelo,
The option "Generate an example main program" in Code Generation of Configuration Parameters should be selected, see screenshot below:
main_program.png

Categorías

Más información sobre Schedule Model Components en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by