Main Content

getPlatformMapping

Get platform mapping object for platform of Simulink data dictionary

Since R2023b

    Description

    example

    platformMapping = getPlatformMapping(archDataObj,"AUTOSARClassic") returns the mapping object for the AUTOSAR Classic platform in the data dictionary. This allows configuration of platform-specific properties in the data dictionary.

    Examples

    collapse all

    To get the mapping object for the AUTOSAR Classic platform in the data dictionary, use the getPlatformMapping function. For an example that shows more of the workflow for related functions, see Create Architectural Data Object and Use It to Configure Architectural Data.

    myPlatformMapping = getPlatformMapping(archDataObj,"AUTOSARClassic")
    myPlatformMapping = 
    
      ARClassicPlatformMapping with no properties.
    

    Input Arguments

    collapse all

    Architectural Data object, specified as a Simulink.dictionary.ArchitecturalData object.

    Output Arguments

    collapse all

    Platform mapping object, returned as an autosar.dictionary.ARClassicPlatformMapping object.

    Version History

    Introduced in R2023b