Unable to deploy simulink model on arduino Mega2560 (Using matlab 2017a)

1 次查看(过去 30 天)
### Build procedure for model: 'LedSimulink' aborted due to an error. 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 '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.

回答(1 个)

shaolong yang
shaolong yang 2018-9-24
Do you solove the problem? I encountered the same problem, when I tried to use the Minseg Robot (Arduino Mega 2560). If you have any solution, please share to me (<mailto:asl_0702@126.com asl_0702@126.com>). Thanks.

类别

Help CenterFile Exchange 中查找有关 Run on Target Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by