Multitasking - reading from COM port

Hello,
I'm trying to read data from COM (RS232) port in background, using parallel computing. All this in GUI. What I'm trying to achieve is that my program will not stall, when the data is being read from the port.
For some reason, when I try to create a new job, and inside it create a task which reads from the COM port - i can not read any data. No error is produced. The job is created in callback function of a specific GUI button. Am i doing anything wrong?

1 comentario

Jan
Jan el 8 de Mzo. de 2011
Please post exactly, how do you "create a new job" and how you "create a task which reads from the COM port". Usually a callback from a GUI blocks Matlab until it is finished.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Parallel Computing en Centro de ayuda y File Exchange.

Preguntada:

el 8 de Mzo. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by