MQTT in MATLAB – plot real time data

How to plot real-time data in MATLAB over MQTT

In this tutorial of MQTT, we will learn how to use MQTT in MATLAB. We will start with basics like making connections with MQTT broker, Publish and subscribe and then we will plot real-time data coming from ESP8266 over MQTT.