Can't succesfully use an ESP32 board in Simulink
36 views (last 30 days)
Show older comments
I'd like to configure my ESP32-Wroom-32E board with Simulink.
For this purpose I've downloaded and installed two add-on:
- Matlab support package for Arduino Hardware
- Simulink support package for Arduino Hardware.
ESP32 seems to work fine in Matlab, in fact issuing arduino I see:

The problem occurs whe I try to develope a simple code in Simulink like this:

In this case I get errors:

Any idea?
Thanks in advance
0 Comments
Answers (1)
Monalisha
on 6 Mar 2025
Hello @Cosimo Mercuro
Connected IO mode is presently not supported for ESP32 Boards. We will be enabling the support of Connected IO mode in future releases.
Presently to unblock yorself, you can try any other workflow from the below mentioned list:
1.Build,Deploy and Start
2.External Mode (Monitor & Tune)
1 Comment
Arushi
on 22 Aug 2025 at 5:34
Adding to Monalisa’s answer, you can also refer to the following documentation :
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!