Error in creating a function
显示 更早的评论
What's wrong in the following expression?
ObjectiveFunction = @x() sim(net, x')
2 个评论
Stephen23
2018-8-2
@x() sim(net, x')
^^^
should be:
@(x) sim(net, x')
^^^
GEORGIOS BEKAS
2018-8-2
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!