Filter löschen
Filter löschen

How to import arxml ApplicationDataType with updateAUTOSARProperties

2 Ansichten (letzte 30 Tage)
Shelly
Shelly am 26 Jul. 2024
Beantwortet: Shelly am 29 Jul. 2024
open_system('mySWC')
ar = arxml.importer('ExternalElements.arxml');
updateAUTOSARProperties(ar,'mySWC','Category',{'ImplementationDataType'});
after import Interface from arxml, in AutoSar Dictionary,S-R Interface is updated and the dataElement is only one,
then follow the example above , import ApplicationDataType and ImplementationDataType successed,but the S-R Interface still have one data element ,actually,the Interface VehSpdLgt have three elements and it isn't reflected in the model
my question : After importing the arxml data type, the data elements of the Autosar interface are not reflected, how to import the structural data type through arxml?

Antworten (1)

Shelly
Shelly am 29 Jul. 2024
Alternative, directly import the rte header file
Simulink.importExternalCTypes('Rte_Type.h')

Kategorien

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

Produkte


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by