ert_main.c not generated

조회 수: 11 (최근 30일)
Angelo Salvatore Graceffa
Angelo Salvatore Graceffa 2016년 7월 8일
답변: Jesús Zambrano 2020년 2월 7일
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

답변 (1개)

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

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by