From Simulink to Grafana using MQTT Protocol
5 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I’m currently using Grafana to visualize data from my Simulink model in MATLAB 2021b. So far, I’ve been able to collect the data at the end of the simulation by saving it as a .mat file with the ToFile block in Simulink. Then, I use a script to convert the data into a .csv file for Grafana to read.
However, I want to transition to a real-time model where I can send the data (possibly using the MQTT protocol) while the simulation is running, and visualize it live in Grafana. Ideally, I would like to stay with MATLAB 2021b for this task.
How can I achieve this?
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!