Read function in MQTT says " There are no messages waiting to be read."

3 次查看(过去 30 天)
I am creating an app on MATLAB that publishes and subscribes data to a MQTT broker. Publishing data works fine but when i subscribe and read the data, it says "There are no messages waiting to be read." but the topic has messages. i am using MQTT box client to test this and i have a different subscriber setup as well. The second subscriber gets the messages but MATLAB shows an error saying there are no messages
image from the second subscriber showing there are messages

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by