Environment: Matlab R2022b Simulink model
Problem: I was generating code from Embedded coder and generated codes have header file declaration present in the C file instead of H file. I used the same model in another computer with R2020b (after exporting to previous version), and same model generated the # includes in H file.