Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

problems with serial communication

1 vue (au cours des 30 derniers jours)
Danilo NASCIMENTO
Danilo NASCIMENTO le 19 Oct 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
I'm trying to perform a serial communication with Matlab and a dspic using COM6 port of my pc. I use the following commands: s=serial('COM6','BaudRate',9600); fopen(s); and then I open the serial port, but when I go on Tera Terminal and try to open the serial port, it said that it cannot open the port because it is being used by another application, perhaps Matlab. But why, for me COM6 port should be opened by both of programs. When I disconnect COM6 port and perform a virtual serial port using another program(VSPE), it works pretty well.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by