Error importing ARXML (TYPE_REFERENCE)

15 views (last 30 days)
Diana Torres
Diana Torres on 25 Jul 2019
Answered: Diana Torres on 25 Jul 2019
I'm trying to import an AUTOSAR ARXML to MATLAB but the following error appears:
Error using arxml.importer/createComponentAsModel (line 120)
The arxml import failed because of the following errors:
Error in AVPIM_AUTOSAR (line 266)
SWC_sys_handler = createComponentAsModel(ar,swc_import_pkg_path,...
Caused by:
Reference to implementation data type is missing from implementation data type element 'loc' of category TYPE_REFERENCE in file
C:/Inputs/Arxml/DataTypes.arxml:38487.
Reference to implementation data type is missing from implementation data type element 'location' of category TYPE_REFERENCE in file
C:/Inputs/Arxml/DataTypes.arxml:38500.
Element {} of type Simulink.metamodel.types.StructElement has no property named {}BaseType
Element {} of type Simulink.metamodel.types.StructElement has no property named {}BaseType

Answers (1)

Diana Torres
Diana Torres on 25 Jul 2019
Embedded Coder Version 7.2 (R2019a)

Categories

Find more on AUTOSAR Blockset in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!