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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by