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

Jan
Jan 2011년 3월 8일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Parallel Computing에 대해 자세히 알아보기

질문:

2011년 3월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by