Info

此问题已关闭。 请重新打开它进行编辑或回答。

problems with serial communication

1 次查看(过去 30 天)
Danilo NASCIMENTO
Danilo NASCIMENTO 2013-10-19
关闭: MATLAB Answer Bot 2021-8-20
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.

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by