fminsearchの並列処理

fminsearch
[x,fval]=fminsearch(fun,x0,options)
を10回parforで並列処理する方法を教えて頂きたいです。
変化するのはfunでそれぞれfun1,fun2,fun3,...fun10なのですが、funは関数ハンドルとなっているためエラーとなってしまいます。

回答(1 个)

Prabhanjan Mentla
Prabhanjan Mentla 2020-12-31

0 个投票

Hi,
Parallel Computing is not supported for fminsearch. Refer this link for more details.
You can find other types of solvers here.
Hope this helps.

类别

在 帮助中心 和 File Exchange 中查找有关 Profile and Improve Performance 的更多信息

提问:

2020-12-26

Community Treasure Hunt

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

Start Hunting!