Main Content


Create J1939 signal timetable from J1939 parameter group timetable


sigTables = j1939SignalTimetable(pgTable) converts a timetable of J1939 parameter group information into individual timetables of signal values. The function returns a structure with a field for each unique parameter group in the timetable. Each field value is a timetable of all the signals in that parameter group. Use this form of syntax to convert an entire set of parameter groups in a single function call.


sigTables = j1939SignalTimetable(pgTable,"ParameterGroups",pgNames) returns signal timetables for only the parameter groups specified by pgNames, which can specify one or more parameter group names. Use this form of syntax to quickly convert only a subset of parameter groups into signal timetables.

sigTables = j1939SignalTimetable(___,"IncludeAddresses",true) adds source and destination addresses to each J1939 signal timetable. The default argument value is false, in which case the J1939 signal timetables do not include addresses.



collapse all

Create J1939 signal timetables from all data in a J1939 parameter group timetable.

sigTables = j1939SignalTimetable(pgTable);

Create J1939 signal timetables from only specified J1939 parameter groups in a timetable.

sigTable1 = j1939SignalTimetable(pgTable,"ParameterGroups","pgName");
sigTable2 = j1939SignalTimetable(pgTable,"ParameterGroups",{"pgName1","pgName2"});

Input Arguments

collapse all

J1939 parameter groups, specified as a timetable.

J1939 parameter group names, specified as a character vector, string, or array.

Data Types: char | string | cell

Output Arguments

collapse all

J1939 signals, returned as a structure. The structure field names correspond to the parameter groups of the input, and each field value is a timetable of J1939 signals.

Data Types: struct

Version History

Introduced in R2021a