avoid data missing in writing outputs of parfor
Show older comments
hi everyone I have R2011b on my system and wanna execute a parfor loop. In each iteration there is a dlmwrite which writes the output of that iteration in one single file. As we know because parallel processors may wanna access the output file simultaneously, some data will be missed. I don't know how to pause some of them to avoid this simultaneity. Would you please help me?
Answers (0)
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!