函数或变量 'func' 无法识别
显示 更早的评论
运行代码时无法顺利运行,可能是因为:function是我的适应度函数,我没有定义它,但是我不知道要怎么定义它,具体要在哪里修改我的代码

回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Genetic Algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!