Main Content


Get an AUTOSAR Classic platform property for interface dictionary



propValue = getPlatformProperty(platformMapping,dictElementObj,propName) gets the specified platform property for the dictionary element.


collapse all

To get the InterfaceKind property value for the specified data interface, use the getPlatformProperty function. For an example that shows more of the workflow for related functions, see Create and Configure Interface Dictionary.

userPlatformMapping = getPlatformMapping(dictObj, 'AUTOSARClassic');
userInterfaceObj = getInterface(dictObj, 'interfaceName');
userPropValue_Interface = ...
   getPlatformProperty(userPlatformMapping, userInterfaceObj, 'InterfaceKind')
userPropValue =


To get the SwCalibrationAccess property value for the specified data element, use the getPlatformProperty function.

userDataElemObj = userInterfaceObj.Elements(1);
userPropValue_Sw_CalAccess = ...
    getPlatformProperty(userPlatformMapping, userDataElemObj, 'SwCalibrationAccess')
userPropValue_Sw_CalAccess =


Input Arguments

collapse all

Platform mapping, an ARClassicPlatformMapping object.

Element in array of objects in dictionary object

Property name of property in dictionary element.

Example: 'InterfaceKind'

Output Arguments

collapse all

Property value of property in dictionary element.

Version History

Introduced in R2022b