serial communication hung up

16 vues (au cours des 30 derniers jours)
utkarsh
utkarsh le 15 Jan 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 ????

Réponses (0)

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by