function parGetVecs(dirname) parfor i=1:2 if i==1 getVecs(strcat(dirname,'_a')); else getVecs(strcat(dirname,'_b')); end end end