Build error in Simulink using TCP/IP Send block

4 views (last 30 days)
I've made a simple project using Instrument Control Toolbox but every time I try to build my project to my Arduino Nano 33 IoT in external mode, I got the following error:
  • In order to generate code from AsyncIO, the target hardware must be MATLAB Host or a compatible device. The error occurred for MATLAB System block 'Arduino_wifi/TCP//IP Send'.
I configured my hardware inside model settings to connect to my local WiFi and changed the External mode to 'XCP on WiFi'.

Accepted Answer

Arun Kumar
Arun Kumar on 4 Oct 2022
Hi Alex,
Please use the following block for TCP/IP communication on arduino board:
Hope this helps!
Alex Papdi
Alex Papdi on 7 Oct 2022
Hi Arun,
That's understandable. Thank you very much for your help!

Sign in to comment.

More Answers (0)


Find more on Simulink Support Package for Arduino Hardware 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!