Does MATLAB support MQTT?

4 views (last 30 days)
stev1088
stev1088 on 24 Aug 2016
Commented: Eric Wetjen on 15 Mar 2022
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?
  1 Comment
Eric Wetjen
Eric Wetjen on 15 Mar 2022
In R2022a, you can use Industrial Communication Toolbox to publish data over MQTT protocol.

Sign in to comment.

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 8 Feb 2020
Thank you so much, me too i'm looking for how can i integrate MQTT in MATLAB
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 .

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on ThingSpeak in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!