Possible to do parfor data import?

I'd really love to be able to do something like this (pseudocode):
parfor i=1:length(nFiles)
myarray(i).var = tdfread(filename{i});
end
Obviously each run is independent of the other, but how do I parallelize this?
tdfread is CPU constrained, so I'm thinking I should be able to squeeze some performance gain out of this.

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 22 Mar 2013

Community Treasure Hunt

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

Start Hunting!