How to reuse header files for multiple code generation processes?
Mostrar comentarios más antiguos
I am trying to generate C code for an ECU (engine control unit) using Simulink. There are two separate code generation processes in my workflow, one to generate the deployed code and another to generate the ECU code.
I need to use shared variables in both code-generation processes which should be defined in a header file. To generate the header file, I use the "Exported Global" storage class, but this approach generates two header files from the two code-generation processes.
Is there a way to generate only one header file containing the variable definitions for both code-generation processes?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Deployment, Integration, and Supported Hardware en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

