Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how can make loop ??

1 visualización (últimos 30 días)
Abdoo
Abdoo el 22 de Nov. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
please help me .. i wanna make loop for my receive data, my program only receive data one time. the is the code:
s=serial('com1');
set(s,'BaudRate',9600);
fopen(s);
s.Terminator = 'CR';
B=fgets(s);
set(handles.text1,'string',B);
fclose(s)
delete(s)
clear s
  3 comentarios
Abdoo
Abdoo el 25 de Nov. de 2014
I have attach two file Mr.Geoff Hayes plz if you can install my attach file and Edit it.
Geoff Hayes
Geoff Hayes el 25 de Nov. de 2014
Abdoo - I won't be able to run your GUI since I have no source to send data to the GUI via the serial port. Look at the links I posted, and consider how you can work that in to your code.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by