I have a search function written before version 2.0.2 of Genetic Algorithm and Direct Search Toolbox. The old syntax I have currently follows the form:
function [successSearch,nextIterate,optimState] = searchfcntemplate(fun,iterate,tol,A,L,U, ... funeval,maxfun,searchoptions,objfcnarg, ... iterlimit,factors)
How can I convert this syntax so that it will work in later versions?
Best Answer