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

20 Ansichten (letzte 30 Tage)
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>

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 24 Okt. 2023
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

Weitere Antworten (0)

Kategorien

Mehr zu AUTOSAR Blockset finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by