Does MATLAB support MQTT?

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

0 votes

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

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