Plotting graphs using parallel computing toolbox and communicating between workers
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Michael Romeo
il 1 Nov 2022
Commentato: Michael Romeo
il 1 Nov 2022
Hi
So I am having a bit of an issue trying to collect and process some data while using the parallel computing toolbox. What I am trying to do is collect data from a sensor and process in parallel and then show the output on a plot, but for some reason the functions I pass into the workers are not plotting the data. At the moment I have tried both using createJobs and parfor to run 2 individual functions at once. I was wondering if there was a way to show the plots or if I need to use a different Parallel computing function. I am also running this using local workers on my laptop
Another question I have as well, is there a way for workers to communicate between eachother when running two seperate functions. I know you can use createCommunicatingJob, but that only works for workers running the same function. The reason I want them to communicate is so the data being collected can be processed. At the moment I am saving the data to an external file then reading the file in the processing function
Any help anyone is able to give would be amazing. Thanks!
0 Commenti
Risposta accettata
Raymond Norris
il 1 Nov 2022
Look at https://www.mathworks.com/matlabcentral/answers/1829258-how-to-use-composite-objects-using-spmd#answer_1077643 for some potential hints.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Graphics Performance in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!