MATLAB Answers

How to use INSTRFIND to determind device

조회 수: 8(최근 30일)
tien nguyen
tien nguyen 6 Dec 2013
답변: Sreeram 31 Jul 2014
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.

  댓글 수: 0

Sign in to comment.

답변(1개)

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

  댓글 수: 0

Sign in to comment.


Translated by