Main Content


Export interface, data type, and platform-specific definitions from interface dictionary

Since R2022b



exportedFolder = exportDictionary(platformMapping) exports the content from an interface dictionary mapped to the AUTOSAR Classic Platform to ARXML files and RTE stub header files. This operation creates a folder in the current folder that contains the output files.


collapse all

To export the AUTOSAR content of the interface dictionary to ARXML and header files, use the exportDictionary function. For an example that shows more of the workflow for related functions, see Configure AUTOSAR Classic Data Interface and Properties in Interface Dictionary.

Export the interface dictionary.

platformMapping = addPlatformMapping(dictAPI,'AUTOSARClassic');
exportedFolder = exportDictionary(platformMapping)
Exporting dictionary, please wait...
Exported dictionary ARXML files are located in: C:\Users\myName\MyInterfaces.

exportedFolder =

View output folder.


Input Arguments

collapse all

Platform mapping object, specified as an autosar.dictionary.ARClassicPlatformMapping object.

Output Arguments

collapse all

Full path of the folder containing the exported files from the interface dictionary, specified as a string scalar or a character vector.

Exported files contained in exportedFolder include ARXML files, which are named dictionaryname_datatypes.arxml and dictionaryname_interfaces.arxml, where dictionaryname is the name of the interface dictionary, and a stub folder containing RTE header files. If the files already exist, exportDictionary overwrites them.

Example: 'arxmlFolder'

Version History

Introduced in R2022b