constrained pso : Not enough input arguments.

2 visualizaciones (últimos 30 días)
genevois pierre
genevois pierre el 29 de Dic. de 2016
Editada: Walter Roberson el 29 de Dic. de 2016
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 29 de Dic. de 2016
Editada: Walter Roberson el 29 de Dic. de 2016
[x, fval, exitflag] = pso(@mapse_vu_sd, 7, [], [], [], [], ...
lx, ux, mapse_CNL_sd_c)

Más respuestas (0)

Categorías

Más información sobre Particle Swarm en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by