Connect to MQTT compliant brokers over TCP or websocket protocols. After connection, subscribe to topics or wildcards on the broker. Define custom functions to evaluate on receiving messages on subscribed topics. Publish messages to topics on the broker. All QoS levels supported for both publish and subscribe functions.
You can also establish a secure connection to a broker using TLS v1.2 over both TCP and websocket.
MathWorks Internet of Things Team (2021). MQTT in MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/64303-mqtt-in-matlab), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!