constrained pso : Not enough input arguments.
    3 次查看(过去 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
0 个评论
采纳的回答
  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 个评论
更多回答(0 个)
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Particle Swarm 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!