Error in feval, gaplotbestf, GA

1 次查看(过去 30 天)
Masoud
Masoud 2012-8-1
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 个)

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by