Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
getting fmincon error after a call
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
What is wrong with this call to fmincon:
[temppop,tempval,exitflag,output] = fmincon(@myfun,pop(idx(i),:),[],[],[],[],XRmin(1,:),XRmax(1,:),@mycon,opts,varargin{:});
I am getting this error: Error using myfun Too many input arguments.
Where myfun is:
function f = myfun(x),
[f, c, ceq] = mlbsuite(x, 38, 0, 'g16');
f = - f; %
0 Kommentare
Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!