How to reuse header files for multiple code generation processes?
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 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!

