I am using genetic algorithm function
ga(fitnessfcn,nvars,.....,options)
where we can set various parameters for the algorithms using gaoptimset(...).
However, I am not able to understand how to set maximum number of objective function evaluations as the stopping criterion for this function.
I found the parameter Generations for stopping criterion, but it sets only the maximum number of generations and each generation has more than one function evaluations.
So, can anyone help me on this?