Run two while loops in parallel
Afficher commentaires plus anciens
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 .
Réponses (1)
Matt J
le 16 Juin 2013
0 votes
If you have the Parallel Computing toolbox, you could use SPMD.
Catégories
En savoir plus sur Installing Products dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!