How to use INSTRFIND to determind device

when i run my simulink, i got a erro
Open failed: Port: COM4 is not available. Available ports: COM1, COM2, COM 7.
COM7 is my arduino
then i type: >>instrfind
>>s = serial('COM7')
>>fopen(s)
the result:
Open failed: Port: COM7 is not available. Available ports: COM1, COM2.
my arduino connected with PC. help me, thanks.

답변 (1개)

Sreeram
Sreeram 2014년 7월 31일

0 개 추천

Hi tien,
Could you please check if the drivers have been installed correctly and then restart MATLAB and try again ?
Thanks, Sreeram Mohan

카테고리

도움말 센터File Exchange에서 Arduino Hardware에 대해 자세히 알아보기

제품

질문:

2013년 12월 6일

답변:

2014년 7월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by