Undefined function 'twofunc' for input arguments of type 'double'?

while calculation optimization problem by using genetic alorith solver in optimization tool , "it says Undefined function 'twofunc' for input arguments of type 'double'", what does it mean?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 17 de Nov. de 2017
Your code calls a function named twofunc but your code does not define twofunc.
Another possibility is that you used a variable named twofunc before you assigned a value to it.
There is no Mathworks supplied function named twofunc anywhere in any toolbox.

Más respuestas (0)

Preguntada:

el 17 de Nov. de 2017

Respondida:

el 17 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by