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?

 채택된 답변

Walter Roberson
Walter Roberson 2017년 11월 17일

0 개 추천

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.

추가 답변 (0개)

카테고리

질문:

2017년 11월 17일

답변:

2017년 11월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by