Filter löschen
Filter löschen

Cannot connect to Serial Port

6 Ansichten (letzte 30 Tage)
rents85
rents85 am 6 Mär. 2013
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.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by