readMessages
Syntax
Description
reads all messages available in the msgs
= readMessages(msgReader
)ibeoMessageReader
object, msgReader
. If the input
MessageType
property of msgReader
is
'object'
, this syntax returns online object messages.
[___] = readMessages(___,'DeviceID',
reads messages that correspond to the specified device, deviceID
)deviceID
, in
addition to any combination of input arguments from previous syntaxes.
reads the messages with the specified timestamps, msgs
= readMessages(msgReader
,timestamps
)timestamps
.
[
returns the metadata associated with rawMsgs
,procMsgs
,rawMetadata
,procMetadata
] = readMessages(___)rawMsgs
and
procMsgs
. To use this syntax, the MessageType
property of msgReader
must be 'object'
.
Examples
Input Arguments
Output Arguments
More About
Tips
When working with large numbers of messages, this has high time and system memory
requirements. Consider reading smaller batches of messages, or using the readNextMessage
object function to read messages one by one.
Version History
Introduced in R2021a