Difference in C function argument generated from MATLAB Simulink 2010b compared to MATLAB Simulink 2018b
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!