multithreading - setting up matlab multicore computing -


i'm trying use in matlab

parfor = 1 : 100     disp( sprintf('process %d\n', i) );  end 

how setup number of cores want use (possibly inside script)? @ moment see same (sorted) sequence.

thank you

use

matlabpool open x 

where x number of cores you'd run computation on.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -