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

1 view (last 30 days)
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

Accepted Answer

Lucas Lebert
Lucas Lebert on 1 Mar 2019
Edited: Lucas Lebert on 1 Mar 2019
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

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!