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

1 Ansicht (letzte 30 Tage)
genevois pierre
genevois pierre am 29 Dez. 2016
Beantwortet: Walter Roberson am 29 Dez. 2016
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 Kommentar
genevois pierre
genevois pierre am 29 Dez. 2016
and i get the same error with other fields of the structure options. This error is : Field assignment to a non-structure array object.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 29 Dez. 2016
options = optimoptions('particleswarm', 'InitialPopulation', [1,2,3]);

Weitere Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by