fminsearchの並列処理

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

Risposte (1)

Prabhanjan Mentla
Prabhanjan Mentla il 31 Dic 2020
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.

Categorie

Scopri di più su ループと条件付きステートメント in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!