I'm using R2018b with the toolbox MQTT in Matlab.
However, I got the error of "Undefined variable "com" or class "com.mathworks.mqttclient.client.Client"". In my case is that I try to use this MQTT in a GUI which I made with GUIDE, but somehow it only works in the Matlab IDE but not in the compiled standalone version (all the .p files in MQTT in Matlab have been added manually).
I also tried to include both .jar files before compiling them, but it doesn't work and Matlab will complain that the pathway of these two files have been specified.
Does anyone maybe have a solution in detailed steps?
Thank you in advance!