Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

j1939ParameterGroupImport

Import J1939 log file

Syntax

pgs = j1939ParameterGroupImport(file,vendor,database)

Description

example

pgs = j1939ParameterGroupImport(file,vendor,database) reads the input file as a CAN message log file from the specified vendor. Using the specified CAN database, the CAN messages are converted into J1939 parameter groups, and assigns the output to the array pgs.

Examples

collapse all

Read a CAN message log file, and generate J1939 parameter groups according to a CAN database.

db = canDatabase('MyDatabase.dbc');
pgs = j1939ParameterGroupImport('MsgLog.asc','Vector',db);

Input Arguments

collapse all

CAN message log file, specified as a character vector or string.

Example: 'MyDatabase.dbc'

Data Types: char | string

Vendor file format, specified as a character vector or string. The supported file formats are those defined by Vector and Kvaser.

Example: 'Vector'

Data Types: char | string

CAN database, specified as a database handle.

Output Arguments

collapse all

J1939 parameter groups, returned as a parameter group array.

See Also

Functions

Introduced in R2017a

Was this topic helpful?