How do I share data between my parallel pool workers?
Show older comments
I am running a script in parallel using the Parallel Computing Toolbox. As part of this, I would like to save important data from one worker such that it is readable from another worker in the same job.
Thus far, I have tried to write files containing the data to my device's disk and have the other workers read those files as necessary. However, this often fails to work as expected. Is there a better way to do this?
Accepted Answer
More Answers (0)
Categories
Find more on Job and Task Creation 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!