- https://www.mathworks.com/help/autosar/ref/arxml.importer.html
- https://www.mathworks.com/help/autosar/ug/example-import-autosar-component-to-simulink.html
How to import the arxml created from the Autosar Davinci developer into the Matlab .
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Created the Swc Arxml from the Davinci Developer
1.We have created the Cdd from Davinci developer version (4.9.51 ),and want to import the Cdd i.e .arxml file into the Matlab version (2022 b)
2.We used the following command to import the cdd "archModel =autosar.arch.createModel("myArchModel"); "
3.While importing the arxml we got these errors
Created the Swc Arxml from the Matlab
1.We also created the Software component into the Matlab through the autosar blockset ,and generated the code i.e .c .h and arxml file .
2. Tried to Import the arxml through the command "archModel =autosar.arch.createModel("myArchModel"); "
3.While importing we faced the following errors .
0 commentaires
Réponses (1)
Ashutosh Thakur
le 18 Juin 2024
Hi Manjiri,
I would suggest you to use arxml.importer API in MATLAB to import the ARXML file into Simulink components. The following sample code can be leveraged to know how to use arxml.importer API:
ar = arxml.importer('mySample.arxml')
createComponentAsModel(ar,'/pkg/swc','ModelPeriodicRunnablesAs','AtomicSubsystem')
Following documentation link can provide more information on importing ARXML files into Simulink Model:
I hope this helps you.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!