帮助中心帮助中心
从A2L文件中获取特定特性的信息
info = getCharacteristicInfo(a2lFile,characteristic)
例子
信息= getCharacteristicInfo (a2lFile,特征)从指定的A2L文件中返回关于指定特征的信息,并将其存储在xcp. xml文件中。特性对象,信息.
信息= getCharacteristicInfo (a2lFile,特征)
信息
a2lFile
特征
全部折叠
创建句柄来解析A2L文件并获取有关curve1_8_uc的特点。
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: []
xcp。A2L
A2L文件,指定为xcp。A2L对象,在此连接中使用。您可以创建xcp。A2L文件对象使用xcpA2L.
xcpA2L
XCP通道特征名,指定为字符向量或字符串。
例子:“curve1_8_uc”
“curve1_8_uc”
数据类型:字符|字符串
字符
字符串
XCP特征信息,作为XCP返回。特性对象,containing characteristic details such as type, identifier, and conversion.
在R2018a中介绍
xcpA2L|getEventInfo|getMeasurementInfo
getEventInfo
getMeasurementInfo
你点击了一个对应于这个MATLAB命令的链接:
在MATLAB命令窗口中输入命令来运行该命令。Web浏览器不支持MATLAB命令。
选择一个网站,在可用的地方获得翻译的内容,并查看当地的活动和优惠。根据您的地理位置,我们建议您选择:.
您也可以从以下列表中选择网站:
选择中国网站(中文或英文)以获得最佳的网站表现。其他MathWorks国家网站没有针对从您的位置访问进行优化。
联系当地办事处