The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: fmincon function error
Replies: 7   Last Post: Aug 20, 2013 10:20 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 6
Registered: 7/20/13
fmincon function error
Posted: Jul 20, 2013 6:33 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Getting the following error when calling fmincon fn:
Undefined function 'classifyBoundsOnVars' for input arguments of type

Error in fmincon (line 561)
xIndices = classifyBoundsOnVars(l,u,sizes.nVar,false);
I am calling fmincon from a program using the following command:
fmincon(minFn,[.2 .2 .2],[],[],[],[],[],[],@nLinCons,optimset('Algorithm','sqp'));
where minFn is my function passed and @nLinCons are my function constraints.

Is it a path issue that is not set within my Matlab environment or is it some other problem?

Grateful if any assistance could be given to me on this issue.
Thank you.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.