I use the optimtool MATLAB tool. Specifically I run a genetic algorithm (ga) for simulation purposes. There are some variables which change their values inside the loop of ga. Two of them are "funccount" and "generations". These corresponds to the Total number of function evaluations, and Total number of generations, excluding HybridFcn iterations, respectively. May I use these or an additional counter, manual increasing, variable (for example, i = i + 1) interfering inside the genetic algorithm loop? I would like to see this value changing in my Command Window.
Is there any idea? Thank you in advance!