According to documentation SciLab https://www.scilab.org/ has Java support. It should be straightforward to use the MQTT interface in Scilab and cxos too. Maybe somebody can volunteer and provide an example...