1 2 3 4 5 6 7 8 9
function parGetVecs(dirname) parfor i=1:2 if i==1 getVecs(strcat(dirname,'_a')); else getVecs(strcat(dirname,'_b')); end end end