Way to save results to a file inside a parfor loop

16 views (last 30 days)
Within a parfor loop I would like to record the results to a file. There are chances of simultaneous writes, is this possible. I really want to append the data. Right now I have it being displayed in the command window however since the command window is limited by the number of lines if the loop exceeds the lines I loose data/results.

Accepted Answer

Edric Ellis
Edric Ellis on 26 Mar 2012
See this answer. Does that help?

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!