Undefined function 'CustomStartPointSet' for input arguments of type 'double'.

Hello, I wrote a code for curve fitting that used multistart algorithm with custom start points. It worked perfectly when I ran in my university's computer. When I ran the same code on my laptop, it failed to recognize the function and threw an error.
CustomStartPointSet is a well defined MATLAB function. I don't know why MATLAB failed to recognize it. Please help. Here is the part of my code which is throwing the error.
Ax = linspace(3000,6000,50);
Bx = linspace(100,1800,50);
Cx = linspace(0.00001, 0.1, 50);
D = [Ax.',Bx.',Cx.'];
tpoints = CustomStartPointSet(D);
Error:
Undefined function 'CustomStartPointSet' for input arguments of type 'double'.
Error in Angular (line 14)
tpoints = CustomStartPointSet(D);

Answers (1)

CustomStartPoint would not be available if you do not have the Global Optimization Toolbox installed, or if you do not have that toolbox licensed. Global Optimization is not one of the toolboxes included with the Student Suite so you would have needed to purchase it specifically.

Asked:

on 22 Feb 2018

Answered:

on 23 Feb 2018

Community Treasure Hunt

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

Start Hunting!