burhanms 0 Newbie Poster

Hello all,
I am using Matlab Genetic algorithm toolbox to solve my function.
It gives an error and I couldnot understand. My function is as "objfun(CW,D)" and when solving on genetic algorithm toolbox it says D is undefined which is my variable.
Could anyone tell why this toolbox gives this error?

Thanks for your helps...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.