필터 지우기
필터 지우기

arduino simulink com port issue

조회 수: 1 (최근 30일)
msh jgtu
msh jgtu 2020년 11월 13일
댓글: msh jgtu 2020년 11월 13일
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
msh jgtu
msh jgtu 2020년 11월 13일
problem solved by changing the usb port

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Setup and Configuration에 대해 자세히 알아보기

태그

제품


릴리스

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by