Effacer les filtres
Effacer les filtres

Multicore Simulink Model

2 vues (au cours des 30 derniers jours)
Chris Knight
Chris Knight le 24 Avr 2012
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?

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 24 Avr 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.

Plus de réponses (1)

K E
K E le 24 Avr 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!)

Catégories

En savoir plus sur Multicore Processor Targets dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by