particleswarm optimization in MATLAB
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
mohammed hussein
am 14 Mär. 2016
Kommentiert: Walter Roberson
am 15 Mär. 2016
dear all i have an problem if any one can help me
when i used any example of particle swarm optimization , this example from help of particle swarm
fcn = @dejong5fcn;
nvars = 2;
lb = [-64 -64];
ub = [64 64];
[x,fval] = particleswarm(fcn,nvars,lb,ub)
it gives me this error i do not know why even though i have the particle swarm toolbox
Undefined function 'particleswarm' for input arguments of type 'function_handle'.
thank you
3 Kommentare
jgg
am 14 Mär. 2016
You also need to actually have the toolbox installed and as part of your license. The ver command should list your available toolboxes.
Akzeptierte Antwort
Walter Roberson
am 14 Mär. 2016
particleswarm() is part of the Global Optimization Toolbox, not part of the Optimization Toolbox.
4 Kommentare
mohammed hussein
am 15 Mär. 2016
Bearbeitet: Walter Roberson
am 15 Mär. 2016
Walter Roberson
am 15 Mär. 2016
Were you using a Trial version? If so it might have expired.
Were you using a Student Version license obtained through a MOOC (Massive Open Online Course) ? If so then it might have expired.
Were you using a Student Version license under one of the Term options such as "9 months" or "1 year" ? If so then it might have expired.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Particle Swarm finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!