Graceful exit from a parfor loop
Show older comments
If I detect an error while processing data within a parfor loop, I would like to gracefully exit the program. Can I delete the parallel pool object using "delete" to shut down all of the workers before exiting?
Answers (1)
Matt J
about 2 hours ago
1 vote
1 Comment
Clay Fulcher
12 minutes ago
Edited: Clay Fulcher
11 minutes ago
Categories
Find more on Parallel for-Loops (parfor) 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!