subscribe
Syntax
Description
subscribes the MQTT client to the specified MQTT topic, and returns a table listing all
subscriptions for that client.SubscrTable = subscribe(mqttClient,mqttTopic)
specifies additional subscription behaviors using optional name-value pairs.SubscrTable = subscribe(mqttClient,mqttTopic,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2022a