Model generated AUTOSAR code causes compiler errors due to header files with 'Code Packaging' set to 'Modular'

1 view (last 30 days)
Why is AUTOSAR generated code experiencing compiler errors due to header file includes with “Code packaging” set to Modular and it is a single instance component with Per Instance Memory defined?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 19 Apr 2019

This could be due to to the ARXML not exactly corresponding with the code/ARXML.

Check that the ARXML is not describing things like auto-generated Simulink data structures (model_B, model_DW, model_M) as PIMs. C Code and ARXML are only generated for these Simulink data structures when using reusable code interface, not the non-reusable (single-instance) code interface.

More Answers (0)

Categories

Find more on AUTOSAR Blockset in Help Center and File Exchange

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!