What's wrong in the following expression?
ObjectiveFunction = @x() sim(net, x')

2 comentarios

Stephen23
Stephen23 el 2 de Ag. de 2018
@x() sim(net, x')
^^^
should be:
@(x) sim(net, x')
^^^
GEORGIOS BEKAS
GEORGIOS BEKAS el 2 de Ag. de 2018
thanks.

Iniciar sesión para comentar.

 Respuesta aceptada

madhan ravi
madhan ravi el 2 de Ag. de 2018
Editada: madhan ravi el 2 de Ag. de 2018

0 votos

hi try this,
ObjectiveFunction = @(x) sim(net, x')
REASON: FUNCTION HANDLE SHOULD BE DETERMINED INSIDE PARENTHESES.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 2 de Ag. de 2018

Comentada:

el 2 de Ag. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by