How to use multiple cores
Ältere Kommentare anzeigen
I use matlab to generate a series of input files and perform a simulation with each of those by an external program.
eval(sprintf('!%s "%s"','"[a bat file]"',[a matlab generated ini file]))
Using the line above matlab will wait until one simulation has ended before starting a new one. One simulation uses only one of 4 available cores. I would like to know if I can send 4 files into parallel simulation.
Thanks.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Statistics and Machine Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!