Borrar filtros
Borrar filtros

Matlab configuration, using multicores

2 visualizaciones (últimos 30 días)
Gil
Gil el 21 de Mzo. de 2012
Respondida: Nadiia Huskova el 19 de Nov. de 2018
I use CMA-ES algorithm to solve an optimization problem. I use a computer with 2 processors with 6 cores. But I don't know how to increase the performance of MATLAB. I would like to use all the capacity that my computer has. It seems that just one core is used when I run CMA-ES algorithm.
Does anyone know how to change the configuration of Matlab to work properly?
Thank you very much,
Gil Serrancolí

Respuestas (1)

Nadiia Huskova
Nadiia Huskova el 19 de Nov. de 2018
Dear Gil,
there are few option in Matlab to use CMA ES in parallel way. For example, you can use construction parfor instead for in your code. Matlab automatically distributes tasks.
Usually it's the best way to make calculation faster. Another possibility - spmd.
Sincerely,
Nadiia.

Categorías

Más información sobre Get Started with Optimization Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by