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

autosarcompumethodsEmbedded Coderembedded coder autosar support package

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

Best Answer

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