avoid data missing in writing outputs of parfor

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?

Réponses (0)

Catégories

Question posée :

m r
le 7 Mai 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by