diff options
Diffstat (limited to 'parGetVecs.m')
-rw-r--r-- | parGetVecs.m | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/parGetVecs.m b/parGetVecs.m index 4097f5a..53a2cce 100644 --- a/parGetVecs.m +++ b/parGetVecs.m @@ -1,7 +1,9 @@ -parfor i=1:2 - if i==1 - getVecs('test_a'); - else - getVecs('test_b'); +function parGetVecs(dirname) + parfor i=1:2 + if i==1 + getVecs(strcat(dirname,'_a')); + else + getVecs(strcat(dirname,'_b')); + end end end
\ No newline at end of file |