I am integrating custom C-code in my Simulink model, and wish to insert the code at the top of the main header file. To achieve this, I tried using the "Model Header" block in Simulink from the Simulink Coder library. But, for AUTOSAR target the "Model Header" block does not work.
So, how to insert the code at the top of the main header file for an AUTOSAR target?
Best Answer