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.

Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 22 Mär. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by