Include external header files in generated souce file (.c file) and not in generated header file (R2014a)
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Carl-Jakob Ulmer
el 9 de Sept. de 2015
Respondida: Jeevan Thomas
el 11 de Sept. de 2015
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?
0 comentarios
Respuesta aceptada
Jeevan Thomas
el 11 de Sept. de 2015
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Simulink Coder en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!