Info

此问题已关闭。 请重新打开它进行编辑或回答。

Can anyone help me please ?

1 次查看(过去 30 天)
panda xl
panda xl 2019-1-24
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
John D'Errico
John D'Errico 2019-1-24
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.

回答(1 个)

Madhu Govindarajan
Madhu Govindarajan 2019-1-28
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.

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by