Is it possible to get list of Autosar Per-Instance-Memory elements through Simulink Model from command line interface ?

3 ビュー (過去 30 日間)
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 件のコメント
Shivaputra Narke
Shivaputra Narke 2019 年 5 月 15 日
編集済み: Shivaputra Narke 2019 年 5 月 17 日
I am using Matlab 2015b, 2017b.
If I add new PIM using add method and then use the above commands, then I can see added PIMs. However, the above command does not show the PIMs available in arxml files.

サインインしてコメントする。

採用された回答

Shivaputra Narke
Shivaputra Narke 2019 年 8 月 2 日
I have got the list using xml functions.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by