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