How to generate Hierarchical C codes using Embedded coder?
조회 수: 1 (최근 30일)
이전 댓글 표시
I have created a Simulink model that has various simulation blocks. I want to create C codes for each block separately using Embedded Coder compatible with my Renesas controller to test them individually. But once I have unit tested them, I want to integrate them into a single model. The problem with Embedded coder is, it is treating each block as a separate Simulink model while creating the C code. As a result, I am facing duplication problems.
댓글 수: 0
답변 (1개)
Don Zheng
2017년 7월 18일
Make each block a model reference and in the generated code, each model reference block should have their own .h/c files.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Types에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!