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?

답변 (0개)

카테고리

도움말 센터File Exchange에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기

질문:

m r
2015년 5월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by