Is it possible to get list of Autosar Per-Instance-Memory elements through Simulink Model from command line interface ?
Show older comments
Hi,
I want to list down the AR-elements with PIM behavior, available in model generated by ARXML importer. I have to do it for set of components, so I am looking for command line interface for the same.
I have tried below commands
arProps = autosar.api.getAUTOSARProperties(bdroot);
swcName = get(arProps,aswcPaths{1},'Behavior');
swcName = get(arProps,aswcPaths{1},'Behavior');
PIMList=get(arProps,swcName,'PIM');
The PIMList is empty. I have tried other properties like 'Events', 'IRV' those are working correctly. But 'PIM' is not working as expected.
Let me know if I am missing anything in above commands.
Thanks, Shiva
1 Comment
Shivaputra Narke
on 15 May 2019
Edited: Shivaputra Narke
on 17 May 2019
Accepted Answer
More Answers (0)
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!