wait all jobs done matlab code example
Example: wait until job matlab
j = batch('myScript');
wait(j)
load(j)
submit(j);
wait(j,'finished')
results = fetchOutputs(j)
j = batch('myScript');
wait(j)
load(j)
submit(j);
wait(j,'finished')
results = fetchOutputs(j)