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

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?

 採用された回答

MathWorks Support Team
MathWorks Support Team 2019 年 4 月 19 日

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.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeAUTOSAR Blockset についてさらに検索

製品

リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by