フィルターのクリア

How to use INSTRFIND to determind device

1 回表示 (過去 30 日間)
tien nguyen
tien nguyen 2013 年 12 月 6 日
回答済み: Sreeram 2014 年 7 月 31 日
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 日
Hi tien,
Could you please check if the drivers have been installed correctly and then restart MATLAB and try again ?
Thanks, Sreeram Mohan

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by