I have a a loop within a loop The outer loop just goes through each file in a directory and runs the inner loop
Can I select multiple files and have the inner loop running on these files simultaneously
I am using a 32 core 100gb ram server. And I am currently only using 1% CPU going through 1 by 1
I would like to speed this up by running multiple files simultaneously, being able to make the most out of my supercomputer and reduce time
There are several options to parallelise a matlab script.
parfor
loop. See this.