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 comentario

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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simulink Environment Customization en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Preguntada:

el 25 de Mzo. de 2025

Comentada:

el 27 de Mzo. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by