How to use INSTRFIND to determind device

3 visualizaciones (últimos 30 días)
tien nguyen
tien nguyen el 6 de Dic. de 2013
Respondida: Sreeram el 31 de Jul. de 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.

Respuestas (1)

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

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by