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 Exchange 中查找有关 Instrument 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