Multitasking - reading from COM port
Ältere Kommentare anzeigen
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 Kommentar
Jan
am 8 Mär. 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.
Antworten (0)
Kategorien
Mehr zu Parallel Computing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!