% batchdemo - Batch mode
job1 = batch('mywave01')
job2 = batch('mywave03','matlabpool',2)
wait(job1)
load(job1,'A')
wait(job2)
load(job2,'B')
plot(A,'k')
hold on
grid
plot(B,'r')
