xcpA2L
访问 A2L 文件
说明
示例
链接到 A2L 文件
创建一个 A2L 文件对象。
a2lfile = xcpA2L('XCPSIM.a2l')
a2lfile = A2L with properties: File Details FileName: 'XCPSIM.a2l' FilePath: 'c:\XCPSIM.a2l' ServerName: 'CPP' Warnings: [0×0 string] Parameter Details Events: {1×6 cell} EventInfo: [1×6 xcp.a2l.Event] Measurements: {1×45 cell} MeasurementInfo: [45×1 containers.Map] Characteristics: {1×16 cell} CharacteristicInfo: [16×1 containers.Map] AxisInfo: [1×1 containers.Map] RecordLayouts: [41×1 containers.Map] CompuMethods: [15×1 containers.Map] CompuTabs: [0×1 containers.Map] CompuVTabs: [2×1 containers.Map] XCP Protocol Details ProtocolLayerInfo: [1×1 xcp.a2l.ProtocolLayer] DAQInfo: [1×1 xcp.a2l.DAQ] TransportLayerCANInfo: [1×1 xcp.a2l.XCPonCAN] TransportLayerUDPInfo: [1×1 xcp.a2l.XCPonIP] TransportLayerTCPInfo: [0×0 xcp.a2l.XCPonIP]
输入参数
filename
— A2L 文件名
字符向量 | 字符串
A2L 文件名,指定为字符向量或字符串。您必须提供以 .a2l
结尾的文件名。您还可以通过名称提供文件的部分或完整路径。
数据类型: char
| string
输出参数
a2lfile
— A2L 文件
xcp.A2L
对象
A2L 文件,以具有 xcp.A2L 属性 的 xcp.A2L
对象形式返回。
版本历史记录
在 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)