constrained pso : Not enough input arguments.

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Direct Search 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by