主要内容

getCharacteristicInfo

从A2L文件中获取特定特性的信息

描述

例子

信息= getCharacteristicInfo (a2lFile特征从指定的A2L文件中返回关于指定特征的信息,并将其存储在xcp. xml文件中。特性对象,信息

例子

全部折叠

创建句柄来解析A2L文件并获取有关curve1_8_uc的特点。

a2lfile = xcpA2L(“C: \ XCPSIM.a2l”);info = getCharacteristicInfo(a2lfile,“curve1_8_uc”
info =带有属性的特征:CharacteristicType: 'VAL_BLK'存款:[1×1 xcp.]RecordLayout] AxisConversion:{}名称:'curve1_8_uc' LongIdentifier: '8 BYTE共享轴Curve2' ECUAddress: 1131912 ecuaddressex张力:0转换:[1×1 xcp。CompuMethodRational]维度:[8 1 1]LowerLimit: 0 UpperLimit: 255 BitMask: []

输入参数

全部折叠

A2L文件,指定为xcp。A2L对象,在此连接中使用。您可以创建xcp。A2L文件对象使用xcpA2L

XCP通道特征名,指定为字符向量或字符串。

例子:“curve1_8_uc”

数据类型:字符|字符串

输出参数

全部折叠

XCP特征信息,作为XCP返回。特性对象,containing characteristic details such as type, identifier, and conversion.

版本历史

在R2018a中介绍

Baidu
map