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

New to MATLAB?

Parallel Processing

Asked by AP

AP (view profile)

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

AP

AP (view profile)

1 Answer

Answer by D

D (view profile)

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

D

D (view profile)

Contact us