canMessageImport
Import CAN messages from third-party log file
Syntax
Description
imports CAN messages from the log file, message = canMessageImport(file,vendor)file, from a third-party
vendor, vendor. All the messages in the log file are imported as
an array of CAN message objects, or a cell array with one channel per element.
After importing, you can analyze, transmit, or replay these messages.
canMessageImport interprets message data string values as
hexadecimal numeric if appropriate.
message = canMessageImport(___,'OutputFormat','timetable')
returns a timetable of messages. This is the recommended output format for optimal
performance and representation of CAN messages within MATLAB®. The default is to return an array of CAN messages.
message = canMessageImport(___,'ChannelID',
returns data for only the specified channel, chanID)chanID. By default,
all channels are returned.