Effacer les filtres
Effacer les filtres

Cannot connect to Serial Port

6 vues (au cours des 30 derniers jours)
rents85
rents85 le 6 Mar 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.

Réponses (0)

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by