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

2 ビュー (過去 30 日間)
Yogesh Babu
Yogesh Babu 2014 年 7 月 22 日
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

回答 (0 件)

カテゴリ

Help Center および File ExchangeString Parsing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by