j1939ParameterGroupImport
导入 J1939 日志文件
说明
示例
将日志数据导入 J1939 参数组
读取一个 CAN 报文日志文件,并根据 CAN 数据库生成 J1939 参数组。
db = canDatabase('MyDatabase.dbc'); pgs = j1939ParameterGroupImport('MsgLog.asc','Vector',db);
输入参数
file
— CAN 报文日志文件
字符向量 | 字符串
CAN 报文日志文件,指定为字符向量或字符串。
示例: 'MsgLog.asc'
数据类型: char
| string
vendor
— 供应商文件格式
'Kvaser'
| 'Vector'
供应商文件格式,指定为字符向量或字符串。支持的文件格式是 Vector 和 Kvaser 定义的格式。
示例: 'Vector'
数据类型: char
| string
database
— CAN 数据库
数据库句柄
CAN 数据库,指定为数据库句柄。
输出参量
pgs
— J1939 参数组
参数组时间表
J1939 参数组,以参数组的时间表形式返回。
版本历史记录
在 R2017a 中推出
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)