getCharacteristicInfo
从 A2L 文件中获取有关特定特征变量的信息
说明
从指定的 A2L 文件返回有关指定特征变量的信息,并将其存储在 xcp.Characteristic 对象 info
= getCharacteristicInfo(a2lFile
,characteristic
)info
中。
示例
获取 XCP 特征变量信息
创建一个句柄来解析 A2L 文件并获取有关 curve1_8_uc
特征变量的信息。
a2lfile = xcpA2L('C:\XCPSIM.a2l'); info = getCharacteristicInfo(a2lfile,'curve1_8_uc')
info = Characteristic with properties: CharacteristicType: 'VAL_BLK' Deposit: [1×1 xcp.RecordLayout] AxisConversion: {} Name: 'curve1_8_uc' LongIdentifier: '8 BYTE shared axis Curve2' ECUAddress: 1131912 ECUAddressExtension: 0 Conversion: [1×1 xcp.CompuMethodRational] Dimension: [8 1 1] LowerLimit: 0 UpperLimit: 255 BitMask: []
输入参数
输出参量
info
— XCP 特征变量信息
xcp.Characteristic 对象
XCP 特征变量信息,以 xcp.Characteristic 对象形式返回,包含特征变量的详细信息,如类型、标识符和转换。
版本历史记录
在 R2018a 中推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)