serial communication hung up

15 visualizzazioni (ultimi 30 giorni)
utkarsh
utkarsh il 15 Gen 2013
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 ????

Risposte (0)

Categorie

Scopri di più su Instrument Control Toolbox Supported Hardware 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