Run two while loops in parallel
显示 更早的评论
I am implementing a surveillance system using MATLAB GUI. The system allows 4 channels to work (i.e 4 IP cameras to work simultaneously).
4 Pushbuttons (Called "Play") and each pushbutton activates a infinite while loop, to stream from each IP camera (Streaming Images). Now to the problem having 4 while loops, i can't get each while loop to work together, what I need is for each independent while loop to work on an independent core (i.e 4 cores) using MATLAB Sessions. Is that possible, and if yes how can it be done, please give me any references or tutorials to read on the subject if possible. Thank you .
回答(1 个)
Matt J
2013-6-16
0 个投票
If you have the Parallel Computing toolbox, you could use SPMD.
类别
在 帮助中心 和 File Exchange 中查找有关 Installing Products 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!