フィルターのクリア

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 Center および File ExchangeGet 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