A timeout occurred before the Terminator was reached in matlab serial communication

1 Ansicht (letzte 30 Tage)
Hello,
I tried to estrablish serial commnunication between two computers using the following command wriiten below but while executing i am getting following error A timeout occurred before the Terminator was reached in matlab serial communication
s = serial('COM1'); set(s,'BaudRate',4800); fopen(s); fprintf(s,'*IDN?') out = fscanf(s); fclose(s) delete(s) clear s
Let me know how to resolve it

Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by