Info

This question is closed. Reopen it to edit or answer.

Can anyone help me please ?

1 view (last 30 days)
panda xl
panda xl on 24 Jan 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
The following error occurred during deployment to your hardware board: Could not connect to specified Arduino board. Verify that the board is connected to your host, and that the host COM port number set in the model matches the COM port number in Windows. To change the host COM port number in the model, click 'Simulation ', click 'Model Configuration Parameters'... In the dialog that opens, select the 'Hardware Implementation' pane, click 'Target hardware resources > Host-board connection' and set the COM port number. To find out the COM port number in Windows, open Device Manager and open your board in the COM ports group.
this problem when i running my simple model in simulink, just Analog read from arduino.
  1 Comment
John D'Errico
John D'Errico on 24 Jan 2019
But it seems you were given explicit instructions of a list of things to test, check, verify. Did you check thise things? If not, why not? Surely anyone else is just going to ask you the same initial questions.

Answers (1)

Madhu Govindarajan
Madhu Govindarajan on 28 Jan 2019
If you tried those instructions and are getting the same error, try the Set host COM port option to Automatically in the same pane area after resetting the Arduino board.

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!