Got Questions? Get Answers.
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

Thread Subject:
parfor loop time increases with iterations

Subject: parfor loop time increases with iterations

From: Jason

Date: 19 Mar, 2013 21:26:16

Message: 1 of 1

I have a parfor loop that runs a function that does all kinds of random things. The first 10-20 iterations runs super fast ( less than 10 seconds). Then the next few goes up to 100 seconds, then it increase to 300 seconds, etc etc.

Each iteration does exactly the same thing. It essentially loads some data finds the appropriate entries in the data does some pchip calculations and then saves the output to a .mat file.

Any idea why this is happening?

Tags for this Thread

What are tags?



Contact us