Error in creating a function
Show older comments
What's wrong in the following expression?
ObjectiveFunction = @x() sim(net, x')
2 Comments
Stephen23
on 2 Aug 2018
@x() sim(net, x')
^^^
should be:
@(x) sim(net, x')
^^^
GEORGIOS BEKAS
on 2 Aug 2018
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!