How to establish Wi-Fi communication between ESP32 and Simulink in MATLAB R2023a?
30 ビュー (過去 30 日間)
古いコメントを表示
I have a student version of Matlab-Simulink R2023a. I only require a one way data transmission from ESP32 to Simulink in real-time. Is it necessary to perform ESP32 hardware setup in Simulink support package for Arduino hardware? I'm stuck not knowing how to establish Wifi communication between ESP32 and Simulink. I am however able to transmit data using Matlab script. Waijung 2 appears to be a potential solution for it but my knowledge in it is very limited. I would appreciate any modificaton to the slx file or a new one that can enable it to work just like in the m file attached below. Thanks in advance :)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1357538/image.png)
1 件のコメント
Pratheek
2023 年 4 月 24 日
Go through the documentation page to connect and configure the ESP32 with MATLAB and Simulink- Set up and Configure ESP32 Hardware - MATLAB & Simulink (mathworks.com)
回答 (1 件)
Prasanth Sunkara
2024 年 5 月 3 日
Hi Muhamad,
If all you want to do is receive tcp data sent from ESP32 in Simulink, you can use the TCP Receive block from Instrument Control toolbox.
Hope this helps!
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Development Computer Setup についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!