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.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

질문:

2013년 3월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by