Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 ]
Gerry

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
'double'.

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]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.