read
Description
mqttMsg =
read( reads all available messages from
all subscribed topic in the specified MQTT client. This action flushes the messages so they
cannot be read again.mqttClient)
reads all available messages from the specified MQTT topic among the topics that
mqttMsg = read(mqttClient,Topic=mqttTopic)mqttClient is subscribed to.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2022a