while using fminsearch in optimization toolbox, I am getting this error" Undefined function or method 'opt2' for input arguments of type 'double'."
opt2 is my program name. What does this error mean? what should I do?