Multitasking - reading from COM port
Show older comments
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 Comment
Jan
on 8 Mar 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.
Answers (0)
Categories
Find more on Parallel Computing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!