Possible to do parfor data import?

8 次查看(过去 30 天)
Michael
Michael 2013-3-22
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 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by