MATLAB Answers

AP

Parallel Processing

Asked by AP
on 5 Jul 2011

I am trying to read 8000 files in a for-loop. Is there any way that I can read the files in parallel to take advantage of a two quad-core processors.

Thank you.

  0 Comments

1 Answer

Answer by D
on 5 Jul 2011

You could try a parfor loop: http://www.mathworks.com/help/toolbox/distcomp/brjvpu3-1.html#brjvpwa and http://www.mathworks.com/help/techdoc/ref/parfor.html

I believe you can get a trial version of the Parallel Computing toolbox.

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today