serial communication hung up

matlab is getting hung up(not responsive) as there will be no '>>' in command prompt and there will not be serial transmission of data . the i am trying to implement is :
s = serial('COM3');
set(s,'BaudRate',9600,'StopBits',1);
set(s,'Parity','none');
fopen(s);
fprintf(s,'W');
but after this matlab gets hung up ????

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeInstrument Control Toolbox Supported Hardware についてさらに検索

タグ

質問済み:

2013 年 1 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by