Multicore Simulink Model
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
From what I read the only way to take advantage of a multicore computer is to use the parallel computing toolbox. I have a quad core computer and am running a large simulink/simpowersystems model however only one core is used. My university does not yet have a license for the parallel computing toolbox, I am running Matlab 2011a is there anything I may have missed that would allow me to use more than the one core?
0 Commenti
Risposta accettata
Kaustubha Govind
il 24 Apr 2012
Each simulation is single-threaded and will run only on one core, but if you need to run multiple simulations (say with a parameter sweep), you can try the technique described in Running Parallel Simulations.
0 Commenti
Più risposte (1)
K E
il 24 Apr 2012
It is possible to start 4 instances of Matlab and run your Simulink model 4X concurrently, although performance will be less than if you had the Parallel Computing Toolbox. Check whether your computer bogs down with 4 instances but runs more efficiently with 2 or 3 instances, for example due to memory issues. You will have to assign each Matlab instance to perform different runs so that you don't repeat the runs; there are some tips on scripting a parameter sweep in this answer. (If you learn that this is a terrible approach, please post since I do this all the time!)
0 Commenti
Vedere anche
Categorie
Scopri di più su Multicore Processor Targets in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!