MATLAB Answers

AP
1

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


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!