Include external header files in generated souce file (.c file) and not in generated header file (R2014a)

조회 수: 1 (최근 30일)
I use the data dictionary for defining signals and signals types which are imported via an external header file and are not generated from simulink.
The embedded coder is placing the #include of these external header files in the generated header file. However I want the #includes in the generated .c source file. Is this possible?

채택된 답변

Jeevan Thomas
Jeevan Thomas 2015년 9월 11일
EmbeddedCoder has a fixed programmed pattern of generating code through various system and block TLC files. All the imported Simulink data symbols, imported Stateflow machine data etc by default are placed in to model_private.h It can't be changed.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by