Clear Filters
Clear Filters

How to suppress this error. "Your fitness function must return a Scalar value"

2 views (last 30 days)
I am getting above error while using Genetic Algorithm.If my need to return a Vector,how to set that.

Answers (1)

Alan Weiss
Alan Weiss on 6 Feb 2018
Alan Weiss
MATLAB mathematical toolbox documentation

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!