Is it possible to get list of Simulink model Autosar CompuMethods from command line interface ?

1 回表示 (過去 30 日間)
Hi,
I want to list down the compu-methods 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.
Let me know if we have any APIs for the same.
Thanks, Shiva

採用された回答

Lucas Lebert
Lucas Lebert 2019 年 3 月 1 日
編集済み: Lucas Lebert 2019 年 3 月 1 日
Hi Shiva,
there is an api available for the AUTOSAR properties:
arProps = autosar.api.getAUTOSARProperties(modelName);
compuMethods = find(arProps,[],'CompuMethod');
Have a great day,
~Lucas

その他の回答 (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