arduino simulink com port issue

3 vues (au cours des 30 derniers jours)
msh jgtu
msh jgtu le 13 Nov 2020
Commenté : msh jgtu le 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 commentaire
msh jgtu
msh jgtu le 13 Nov 2020
problem solved by changing the usb port

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Setup and Configuration dans Help Center et File Exchange

Tags

Produits


Version

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by