I was working on a project where I have to generate c code from MATLAB simulink 2010b version, but now I am planning to migrate to MATLAB 2018b version, and I have migrated all my model to this version and generated the code, but when I compared both the generated code, then I found some difference in function arguments (shown below).
Generated from MATLAB 2018b:
void my_func(RT_MODEL_my_func *const my_func_M)
Generated from MATLAB 2010b:
void my_func(boolean_T firstTime, BlockIO_my_func *my_func_B, D_Work_my_func *my_func_DWork)
In the above two functions we can see the difference in the arguments. My doubt, is there any setting which allows this to happen in MATLAB2018b version.