If I have a function that takes 2 arguments I want to start 4 times on different threads as follows:
Start(fun,arg1,arg2a);
Start(fun,arg1,arg2b);
Start(fun,arg1,arg2c);
Start(fun,arg1,arg2d);
Then I would like to be notified when all of them have completed. Does anyone know how to do this without starting multiple instances of Matlab?
If you have to start multiple Matlab instances does anyone have an example of a good way to coordinate this?
Thanks,
Joe
Hi,
I think you have to start multiple instances of Matlab to do that. Otherwise, try to find an appropriate function in the Matlab distributed computation toolbox, if exists.
Cheers;
V. Morio
PhD student in Automatic Control
IMS lab./University of Bordeaux, France