Clear Filters
Clear Filters

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

3 views (last 30 days)
### 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.

Answers (1)

shaolong yang
shaolong yang on 24 Sep 2018
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.

Community Treasure Hunt

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

Start Hunting!