Read MAVLink message from TLOG file
The mavlinktlog
object reads all messages from a telemetry log
or TLOG file (.tlog
). The object gives you information about the file,
including the start and end time, number of messages, available topics, and packet loss
percentage. You can specify a MAVLink dialect for parsing the messages or use the
common.xml
dialect.
tlogReader = mavlinktlog(filePath)
reads all messages from the tlog
file at the given file path and returns an object summarizing the file. This syntax uses the
common.xml
dialect for the MAVLink protocol (Version 2.0) for parsing the
messages. The information in filePath
is used to set the
FileName
property.
tlogReader = mavlinktlog(filePath,dialect)
reads the MAVLink messages
based on the dialect specified as a mavlinkdialect
object or string scalar specifying the XML file path. dialect
sets the
Dialect
property.
readmsg | Read specific messages from TLOG file |