Difference in C function argument generated from MATLAB Simulink 2010b compared to MATLAB Simulink 2018b
이전 댓글 표시
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.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!