Application data types not generated when exporting an interface dictionary to ARXML
20 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2023-10-24
回答: MathWorks Support Team
2023-10-26
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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 AUTOSAR Blockset 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!