My main folder is not generated during code generation of simulink model
조회 수: 13 (최근 30일)
이전 댓글 표시
I'm trying to generate c code from my simulink model for SIL. I was able to generate code by changing "Model configuration parameter" and "embedded coder"
But I'm not getting the my main folder which will have ert_main.c with a for loop.
i dont have any error or warning. Am i missing some toolbox or do i need to specify anything in Model configuration parameter to get that my main folder
Steps i followed:
- Solver => fixed step
- Code generation => ert.tlc
- Report => all the check box is selected
- Embedded coder => Build
댓글 수: 0
답변 (1개)
Jonas
2021년 4월 9일
Did you check 'Generate an example main program' under Code Generation > Templates?
참고 항목
카테고리
Help Center 및 File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!