Failure in user-supplied fitness function evaluation
2 views (last 30 days)
Show older comments
Calculating
0 Comments
Accepted Answer
Alan Weiss
on 5 Aug 2014
Is penalty2 a function on your MATLAB path? Find out by issuing the command
which -all penalty2
Alan Weiss
MATLAB mathematical toolbox documentation
2 Comments
Alan Weiss
on 5 Aug 2014
Please copy the entire MATLAB output and show us. And perhaps show us how you called ga (I mean something like x = ga(@penalty2,4,...))
Alan Weiss
MATLAB mathematical toolbox documentation
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!