Hello:
I get a error message every time I run the Genetic algorithm in Optimization Tool, the message is generated in the result window as follow:
-----------------------------
Optimization running.
Error running optimization.
Undefined function 'isoptimargdbl' for input arguments of type 'cell'.
The Fitness function I'm trying to solve was saved in a M-file:
function t = z(x)
t = @(x) (x-10)^2;
Settings of the solvers are:
Fitness function: z
Number of variable: 1
Bounds: Lower: -5 Upper: 35
Others left blank.
The error message was produced after I click Start.
I was running Matlab on my PC, Student version, R2012a, The Glolbal optimization toolbox license is purchased separately. Optimization toolbox 6.2, input license('inuse') in the command window shows sr_gads_toolbox sr_matlab sr_optimization_toolbox
The strange thing is if I ran the solver in Matlab on computers in the university, the same fitness function with same settings, the optimum point could be found and no error message is generated.
What is likely to go wrong? Please help, Thank you in advance.
Philip