Application data types not generated when exporting an interface dictionary to ARXML

6 ビュー (過去 30 日間)
I am trying to export an interface dictionary to ARXML. In my dictionary, I have an interface that references a bus data type. However, the application data type mappings for the struct elements defined within this bus data type do not appear in the exported datatype ARXML.
For instance, I would like the application data type mappings to be generated in addition to the implementation data types. An example is illustrated below:
<DATA-TYPE-MAP>
         <APPLICATION-DATA-TYPE-REF DEST="APPLICATION-PRIMITIVE-DATA-TYPE">/DataTypes/ApplDataTypes/Float_n41to41</APPLICATION-DATA-TYPE-REF>
         <IMPLEMENTATION-DATA-TYPE-REF DEST="IMPLEMENTATION-DATA-TYPE">/DataTypes/Float</IMPLEMENTATION-DATA-TYPE-REF>
</DATA-TYPE-MAP>

採用された回答

MathWorks Support Team
MathWorks Support Team 2023 年 10 月 24 日
By default, the software generates application base types only for fixed-point data types and enumerated date types with storage types. To override the default behavior for generating application types, you can configure the ARXML exporter to generate an application type, along with the implementation type and base type, for each exported AUTOSAR data type.
To do so, please navigate to XML Options > Additional Options on the interface dictionary editor, and set the option "ImplementationType Reference" to "NotAllowed".
More information on this can be found in the documentation below:
https://www.mathworks.com/help/releases/R2022b/autosar/ug/configure-autosar-release-4-x-data-types.html#buduq1n

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by