Error in creating a function
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
GEORGIOS BEKAS
am 2 Aug. 2018
Kommentiert: GEORGIOS BEKAS
am 2 Aug. 2018
What's wrong in the following expression?
ObjectiveFunction = @x() sim(net, x')
2 Kommentare
Akzeptierte Antwort
madhan ravi
am 2 Aug. 2018
Bearbeitet: madhan ravi
am 2 Aug. 2018
hi try this,
ObjectiveFunction = @(x) sim(net, x')
REASON: FUNCTION HANDLE SHOULD BE DETERMINED INSIDE PARENTHESES.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!