options_ps​o.InitialP​opulation : how to assign ?

1 次查看(过去 30 天)
hi, i now get an error when setting options.InitialPopulation = [1,2,3] for example, after having run options=pso . Can you help me again ? thank you
  1 个评论
genevois pierre
genevois pierre 2016-12-29
and i get the same error with other fields of the structure options. This error is : Field assignment to a non-structure array object.

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2016-12-29
options = optimoptions('particleswarm', 'InitialPopulation', [1,2,3]);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Particle Swarm 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by