How can I receive the signal from MQTT in Matalab GUI?

2 ビュー (過去 30 日間)
Luis Ricardo Rivera Goitia
Luis Ricardo Rivera Goitia 2023 年 4 月 13 日
I have an ESP32 that produces a signal that is sent to MQTT and then I read that signal using Matlab code.
That I want to do is to read that signal using a GUI created in app designer.

採用された回答

Gokul Nath S J
Gokul Nath S J 2023 年 4 月 20 日
Hi Luis,
Based on your query, it seems that you would like to read the signal using the MATLAB code. The question has been answered in a similar MATLAB Answer. Please kind the attached link for the same.
Thanks,
Gokul Nath S J
  1 件のコメント
Luis Ricardo Rivera Goitia
Luis Ricardo Rivera Goitia 2023 年 4 月 20 日
Thank you! I already checked the link, but I'm not pretty sure that is going to work since that I want to read is a live signal that is changing over the time.
What I'm doing is to send a signal from a running dc motor to an MQTT Broker, then I read that signal directly from MATLAB and plot that signal. This process works perfect in MATLAB file .m.
Now, I'm doing an app using app designer, and It has costed me a lot to understand how can I do exactly the same thing in the GUI, still without success.
I haven't found any similar code on the web, just similar videos without showing the code as an example.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by