Differences of generated codes between computers
이전 댓글 표시
Hello,
when generating code out of a Simulink model by using Autosar app (button generate code) on different computers (both with Matlab R2019b), I observed few deviations.
On the first computer, the generated row is below :
M_TURN_ON(rtb_Merge1, tmp, ((real32_T)C_XXX), &rtb_Merge1, &YYY_DW.time_passed_as2d);
On the second computer, the code is as follows:
Prefix_M_TURN_ON(rtb_Merge1, tmp, ((real32_T)C_XXX), &rtb_Merge1, &YYY_DW.time_passed_as2d);
This "prefix_" added before "M_TURN_ON" is causing issues in the makefiles I am using for the SW compilation.
Same simulink model and data dictionary files are used in both cases. What can I check or do to avoid this behavior?
Thanks in advance
댓글 수: 1
Andreas Goser
2025년 3월 27일
My intuition says to compare if the same C Compiler is used on both installations and also if you have the same R2019b Updates, however as you make clear this is more than a curiosity question, but hindering your workflow, I recommend contacting MathWorks Technical Support with an example.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!