MQTT mosquitto publish and subscribe

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.

Categories

Products

Release

R2021a

Asked:

on 18 Mar 2021

Answered:

on 22 Mar 2021

Community Treasure Hunt

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

Start Hunting!