How do i open a com port in Matlab
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Harneel Singh Sagoo
am 24 Nov. 2014
Beantwortet: Katheryn Restrepo
am 31 Mai 2020
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 Kommentare
Akzeptierte Antwort
Katheryn Restrepo
am 31 Mai 2020
fopen () entre parentesis pones como tienes la variable del serial
ejemplo
se = serial ('COM5')
fopen (se)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!