Running mutiple .m file each on own thread
Show older comments
I have a optimization problem that is bottleneck as it requires allot of single thread process. I therefore can not uses the full potential of my quad core computer. However i am doing a parametric study and need to run it many times.
So my question is can i run 4 .m files each on its own thread. Therefore i can run the models 4 time faster. or at least faster.
Would opening matlab 4 time have the same effect (assigning each it's own core in task manger)?
or is there a way in matlab
Ross
Answers (1)
If you have the Parallel Computing Toolbox, you can use SPMD. Otherwise, running 4 separate sessions is about the only thing you can do.
1 Comment
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!