MATLAB: GA: Genetic Algorithm.

gagenetic algorithmoptimization

Error: Not enough input arguments. Hey, i am new to ga optimization. please help out here.. Would really appreciate. Thank You.

Best Answer

In your ga call you need to use @confun instead of confun
You also need to modify confun to return two outputs, even if the second one is just the empty matrix.