MATLAB Answers

Does MATLAB support MQTT?

124 views (last 30 days)
I am working on a IoT application using gateways that publish data using the MQTT protocol and I am wondering if I can publish MQTT directly to MATLAB through a data broker?

Accepted Answer

Hans Scharler
Hans Scharler on 7 Nov 2017
We just released a File Exchange submission that allows MATLAB to publish and subscribe to/from MQTT brokers. Install MQTT in MATLAB to use MQTT directly in MATLAB.
  2 Comments
EL MAANAOUI OUAFA
EL MAANAOUI OUAFA on 9 Feb 2020
I have just simulated my raspberry PI with MATLAB but Mqtt doesn't work ???

Sign in to comment.

More Answers (1)

Eric Wetjen
Eric Wetjen on 8 Dec 2016
You can publish MQTT data to ThingSpeak and use the integrated MATLAB in ThingSpeak to analyze the data. For more information, see the MQTT publish documentation .

Products

Communities

More Answers in the  ThingSpeak Community

Community Treasure Hunt

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

Start Hunting!