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);
回答 (1 件)
Walter Roberson
2018 年 2 月 23 日
0 投票
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.
カテゴリ
ヘルプ センター および File Exchange で Solver Outputs and Iterative Display についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!