- 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
12 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Abhinav Aravindan
on 9 Oct 2024
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 Comments
See Also
Categories
Find more on Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!