getMeasurementInfo
从 A2L 文件中获取有关特定测量变量的信息
说明
从指定的 A2L 文件返回有关指定测量变量的信息,并将其存储在 info
= getMeasurementInfo(a2lFile
,measurementName
)xcp.Measurement
对象 info
中。
示例
获取 XCP 测量变量信息
创建一个句柄来解析 A2L 文件并获取有关 channel1
测量变量的信息。
a2lfile = xcpA2L('C:\XCPSIM.a2l') info = getMeasurementInfo(a2lfile,'channel1')
info = Measurement with properties: Resolution: 0 Accuracy: 0 LocDataType: 'FLOAT32_IEEE' Name: 'channel1' LongIdentifier: 'FLOAT demo signal (sine wave)' ECUAddress: 1155080 ECUAddressExtension: 0 Conversion: [1×1 xcp.CompuMethodRational] Dimension: 1 LowerLimit: -1.0000e+12 UpperLimit: 1.0000e+12 BitMask: []
输入参数
输出参量
info
— XCP 测量变量信息
xcp.Measurement
对象
XCP 测量变量信息,以 xcp.Measurement
对象形式返回,其中包含测量变量的详细信息,如内存地址、标识符和限制。
版本历史记录
在 R2013a 中推出
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)