arduino simulink com port issue

1 Ansicht (letzte 30 Tage)
msh jgtu
msh jgtu am 13 Nov. 2020
Kommentiert: msh jgtu am 13 Nov. 2020
I try to connect arduino uno to matlab 2015a after installing arduino package. i test it through the command window by blinking the led and it worked. when i try to blink the led from simulink it didn't connect however i set hardware target and port number it gives error message
The call to realtime_make_rtw_hook, during the after_make hook generated the following error:
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 'Tools', click 'Run on Target Hardware', and click 'Options... In the dialog that opens, set the Host COM port number.
To find out the COM port number in Windows, open Device Manager and open your board in the COM ports group.
The build process will terminate as a result.
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 'Tools', click 'Run on Target Hardware', and click 'Options... In the dialog that opens, set the Host 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 Kommentar
msh jgtu
msh jgtu am 13 Nov. 2020
problem solved by changing the usb port

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Run on Target Hardware finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by