particleswarm optimization in MATLAB
古いコメントを表示
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 件のコメント
jgg
2016 年 3 月 14 日
You also need to actually have the toolbox installed and as part of your license. The ver command should list your available toolboxes.
mohammed hussein
2016 年 3 月 14 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Particle Swarm についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!