This is a basic implementation of the Matlab toolkit extension.
The toolkit requires the paho-c library. the board.
To install, run the octave package manager:
-
To install from online:
pkg install -forge mqtt
-
To install from a local tarball.
pkg install octave-mqtt-XXXXXXX.tar.gz
Where XXXXXXX is the version of the the downloaded tarball.
-
Load the octave-mqtt package.
pkg load mqtt
-
Connect to a server using the mqttclient function
-
Use the subscribe, read and write commands to read and write data