- Open the Configuration Parameters for your model.
- Navigate to Hardware Implementation > Target hardware resources > External Mode and select “XCP on WiFi”
esp32 XCP on Wi-Fi doesn't work properly
13 次查看(过去 30 天)
显示 更早的评论
May you give any tips at how to work with external mode on esp32 over WI-FI?
I can connect to board via :
arduino(ip,dev_name,port);
But i don't know how to setup it prorerly in Simulink, there is no place to specify IP and port info.
0 个评论
回答(1 个)
Abhinav Aravindan
2024-10-9
To set up your ESP32 board in Simulink, you may refer to the documentation link below.
For configuring your model to run in external mode over WiFi, you may follow the below steps:
The Arduino boards by default gets its IP address through DHCP. Alternatively, you can assign a static IP address to the board by selecting the “Use static IP address and disable DHCP” check box and specifying the IP address in the “WiFi” properties tab.
Hardware Serial Port in “WiFi Properties” is not required for the ESP32 board. This option is enabled only when using an Arduino Board along with the “WiFi shield” or “ESP8266” modules.
For more information on running the model in External Mode over WiFi, please refer to the documentation below.
I hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!