How do i open a com port in Matlab
6 ビュー (過去 30 日間)
古いコメントを表示
My program is always showing the ports as closed
Serial Port Object : Serial-COM1 Communication Settings Port: COM1 BaudRate: 9600 Terminator: 'LF' Communication State Status: closed RecordStatus: off Read/Write State TransferStatus: idle BytesAvailable: 0 ValuesReceived: 0 ValuesSent: 0 Serial Port Object : Serial-COM2 Communication Settings Port: COM2 BaudRate: 9600 Terminator: 'LF' Communication State Status: closed RecordStatus: off Read/Write State TransferStatus: idle BytesAvailable: 0 ValuesReceived: 0 ValuesSent: 0
0 件のコメント
回答 (1 件)
Katheryn Restrepo
2020 年 5 月 31 日
fopen () entre parentesis pones como tienes la variable del serial
ejemplo
se = serial ('COM5')
fopen (se)
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Point Cloud Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!