constrained pso : Not enough input arguments.

1 回表示 (過去 30 日間)
genevois pierre
genevois pierre 2016 年 12 月 29 日
編集済み: Walter Roberson 2016 年 12 月 29 日
hi, in my code, I use
[x, fval, exitflag] = pso(mapse_vu_sd, 7, [], [], [], [], ...
lx, ux, mapse_CNL_sd_c)
and I get the error :
Not enough input arguments.
Error in mapse_vu_sd (line 13)
X = x.*MX;
Error in essai_pso (line 27)
[x, fval, exitflag] = pso(mapse_vu_sd, 7, [], [], [], [], ...
Can you help me ? Thank you

採用された回答

Walter Roberson
Walter Roberson 2016 年 12 月 29 日
編集済み: Walter Roberson 2016 年 12 月 29 日
[x, fval, exitflag] = pso(@mapse_vu_sd, 7, [], [], [], [], ...
lx, ux, mapse_CNL_sd_c)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDirect Search についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by