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

3 次查看(过去 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 CenterFile Exchange 中查找有关 AUTOSAR Blockset 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by