- 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 .
18 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Ashutosh Thakur
on 18 Jun 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 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!