MATLAB Answers

MQTT mosquitto publish and subscribe

14 views (last 30 days)
Sohan poul
Sohan poul on 18 Mar 2021
Answered: Manas Meena on 22 Mar 2021
Is there any examples on how to use mosquitto MQTT with raspberry pi as broker.Im working on a project wherein message has to be sent from matlab to client connected to broker using Mosquitto.

Answers (1)

Manas Meena
Manas Meena on 22 Mar 2021
The following example explains how to Publish and subscribe to messages using MQTT blocks
You can also refer to the MQTT Publish documentation to learn more.

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by