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