fmincon works with 2010a, but not with 2013b - 'function handle' problem

1 view (last 30 days)
Hi there,
i used to work with matlab 2010a. Everything is running fine so far. Now i'm on a computer with 2013b and my script is not working. It says: Undefined function 'createOptimProblem' for input arguments of type 'function_handle'.
Error in main (line 609) problem = createOptimProblem('fmincon',...
Since it's working on the old one, there shouldn't be any problem with the data. Can someone please tell me, what they've changed?
Thanks in advance Tim

Answers (1)

John D'Errico
John D'Errico on 18 Apr 2014
It is part of the global optimization toolbox. You probably no longer have a copy of that toolbox, or it is not properly installed.
At the command line, type
ver
to learn which toolboxes you have installed.
  4 Comments
Walter Roberson
Walter Roberson on 20 Apr 2014
What does it show if you use
which -all createOptimProblem
If it shows not found at all then you need to reinstall Global Optimization Toolbox. If it shows a path and says "no license" then you have the toolbox installed but not licensed.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!