Does MATLAB support MQTT?

5 visualizzazioni (ultimi 30 giorni)
stev1088
stev1088 il 24 Ago 2016
Commentato: Eric Wetjen il 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 Commento
Eric Wetjen
Eric Wetjen il 15 Mar 2022
In R2022a, you can use Industrial Communication Toolbox to publish data over MQTT protocol.

Accedi per commentare.

Risposta accettata

Hans Scharler
Hans Scharler il 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 Commenti
EL MAANAOUI OUAFA
EL MAANAOUI OUAFA il 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 il 9 Feb 2020
I have just simulated my raspberry PI with MATLAB but Mqtt doesn't work ???

Accedi per commentare.

Più risposte (1)

Eric Wetjen
Eric Wetjen il 8 Dic 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 .

Community

Più risposte nel  ThingSpeak Community

Categorie

Scopri di più su ThingSpeak in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by