Info

This question is closed. Reopen it to edit or answer.

problems with serial communication

1 view (last 30 days)
Danilo NASCIMENTO
Danilo NASCIMENTO on 19 Oct 2013
Closed: MATLAB Answer Bot on 20 Aug 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.

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!