필터 지우기
필터 지우기

Matlab configuration, using multicores

조회 수: 2 (최근 30일)
Gil
Gil 2012년 3월 21일
답변: Nadiia Huskova 2018년 11월 19일
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í

답변 (1개)

Nadiia Huskova
Nadiia Huskova 2018년 11월 19일
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.

카테고리

Help CenterFile Exchange에서 Get Started with Optimization Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by