Main Content

getPlatformProperties

Get AUTOSAR Classic platform properties for interface dictionary

Description

example

[propNames,propVals] = getPlatformProperties(platformMapping,dictElementObj) returns the available platform properties and their values for the specified dictionary element.

Examples

collapse all

To get the available platform properties and their values for the specified data interface, use the getPlatformProperties 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');
[userPropNames,userPropValues] = ...
   getPlatformProperties(userPlatformMapping, userInterfaceObj)
userPropNames =

  1×3 cell array

    {'IsService'}    {'Package'}    {'InterfaceKind'}


userPropValues =

  1×3 cell array

    {[0]}    {'/Interface2'}    {'NvDataInterface'}

Input Arguments

collapse all

Platform mapping, an ARClassicPlatformMapping object.

Element in array of objects in dictionary object

Output Arguments

collapse all

Property names in selected interface and platform mapping, specified as a cell array of character vectors or a string array.

Property values in selected interface and platform mapping, specified as a cell array of character vectors or a string array.

Version History

Introduced in R2022b