Effacer les filtres
Effacer les filtres

How to import arxml ApplicationDataType with updateAUTOSARProperties

2 vues (au cours des 30 derniers jours)
Shelly
Shelly le 26 Juil 2024
Réponse apportée : Shelly le 29 Juil 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?

Réponses (1)

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

Catégories

En savoir plus sur AUTOSAR Blockset dans Help Center et File Exchange

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by