autosar.dictionary.ARClassicPlatformMapping
说明
autosar.dictionary.ARClassicPlatformMapping 对象提供帮助您管理映射到 AUTOSAR Classic 平台的数据字典中特定于平台的属性的方法。
创建对象
要创建 autosar.dictionary.ARClassicPlatformMapping 对象,请使用 addPlatformMapping 函数。
archDataObj = Simulink.dictionary.archdata.open("MyInterfaces.sldd"); platformMapping = addPlatformMapping(archDataObj,"AUTOSARClassic");
如果您已有映射到 Classic 平台的数据字典,可以使用 getPlatformMapping 函数来表示 autosar.dictionary.ARClassicPlatformMapping 对象。
platformMapping = getPlatformMapping(archDataObj,"AUTOSARClassic");对象函数
exportDictionary | Export interface, data type, and platform-specific definitions from Architectural Data section of data dictionary |
getPlatformProperties | Get AUTOSAR platform properties from data dictionary |
getPlatformProperty | 从数据字典获取 AUTOSAR 平台属性 |
setPlatformProperty | Set AUTOSAR properties for data interface or element in data dictionary |
示例
版本历史记录
在 R2022b 中推出
另请参阅
Simulink.dictionary.ArchitecturalData | Simulink.dictionary.archdata.DataInterface | Simulink.dictionary.archdata.DataElement | addElement | addAliasType | addDataInterface | addEnumType | addPlatformMapping | addStructType | addValueType | autosar.api.getAUTOSARProperties | getDataType | getInterface | getInterfaceNames | getPlatformMapping