Cannot connect to Serial Port
6 ビュー (過去 30 日間)
古いコメントを表示
Hi, i'm trying to use serial port with matlab. This is the code that i've used:
s1 = serial('COM14');
set(s1,'BaudRate',9600);
fopen(s1)
This is the message of Matlab:
Cannot connect to the COM14 port. Possible reasons are another application is connected to the port or the port does not exist.
The port is connected because Matlab says:
Available ports: COM3, COM9, COM14, COM16.
With HyperTerminal i can open and use the PORT14. What's is wrong? Thank you for your attention.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!