and i get the same error with other fields of the structure options. This error is : Field assignment to a non-structure array object.
options_pso.InitialPopulation : how to assign ?
    5 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
    genevois pierre
 le 29 Déc 2016
  
    
    
    
    
    Réponse apportée : Walter Roberson
      
      
 le 29 Déc 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
Réponse acceptée
  Walter Roberson
      
      
 le 29 Déc 2016
        options = optimoptions('particleswarm', 'InitialPopulation', [1,2,3]);
0 commentaires
Plus de réponses (0)
Voir également
Catégories
				En savoir plus sur Particle Swarm dans Help Center et File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

