Manalap
unread,Feb 23, 2013, 5:01:07 PM2/23/13You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Perhaps I don't know how to put options.
options = optimset('Display','off');
[x,fvalx]=fmincon(func,[0.7],[],[],[],[],[0.5],[1],options);
This created error.
=====================
Error using optimfcnchk (line 286)
NONLCON must be a function.
Error in fmincon2 (line 440)
confcn =
optimfcnchk(NONLCON,'fmincon',length(varargin),funValCheck,flags.gradconst,false,true);
Error in display2 (line 58)
[x,fvalx]=fmincon2(II,[0.7],[],[],[],[],[0.5],[1],options);
>>