GA toolbox "Not enough input arguments" error

1 次查看(过去 30 天)
As I input rastriginsfcn with 2 variables in the genetic toolbox, it gives me the error : Error in the following problem input(s): fitnessfcn: Not enough input arguments Can anyone help figure out what I should do?!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by