1) Is your objective function sum of squares? if it is then LSQNONLIN will be a better suited solver. 2) I see that you are setting MaxFunEvals to be a large number, but I don't see it being passed to FMINCON. Take a look at the doc of fmincon you have to pass the options as follows: x = fmincon(fun,x0,A,b,Aeq,beq,lb,ub,nonlcon,options)
3) If none of those work for you, you may have to share your code with us to look through further. But please make sure you try the above and other different options as well. This is an excellent doc page that talks about what to do When the solver fails
Best Answer