Error in feval, gaplotbestf, GA
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm using genetic algorithm to minimize my objective function and to see the convergence I'm using " 'OutputFcns',@gaplotbestf " as my GA options.
The problem is that I receive the following error:
Error using gaplotbestf
Too many output arguments.
I tracked the error and it's because of the "feval" function which is used in builtin function gaoutput.
Error in gaoutput (line 26) [state,optnew,changed] = feval(functions{i},options,state,flag,args{i}{:});
Do you have any idea?
Thanks
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!