Application data types not generated when exporting an interface dictionary to ARXML
11 views (last 30 days)
Show older comments
MathWorks Support Team
on 24 Oct 2023
Answered: MathWorks Support Team
on 26 Oct 2023
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>
Accepted Answer
MathWorks Support Team
on 24 Oct 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
0 Comments
More Answers (0)
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!