When deploying code on an Arduino® board connected to an ESP8266 chip, Simulink® generates this error:
Could not connect to specified Arduino board.
When you deploy the code on an Arduino board that is connected to ESP8266 using serial port 0, it results in a serial port conflict. The conflict occurs because, by default, the board uses the same port, serial port 0, to deploy the code on the Arduino board.
To resolve the issue, perform these steps: