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 个评论

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 的更多信息

产品

版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by