how to open many matlab instances from matlab?
70 views (last 30 days)
Shaun VanWeelden on 29 Oct 2013
!matlab -r disp('hi') &
Where instead of disp('hi') you would put what function you would like. Keep in mind what directory you are using as you go about this. If your function is not in the starting directory, you will get an error as expected.
More Answers (1)
Zack Peters on 29 Oct 2013
An alternative is to use the Parallel Computing Toolbox to open up several MATLAB workers and run commands on each worker in parallel if desired. I don't know your specific application, but the Parallel Computing Toolbox (PCT) houses a wide array of distributed computing functionality design specifically for users who would like to get more out of MATLAB by using a stable distributed computing platform.
If you would like more information on specific features and functionality available in PCT, I would be more than happy to help.