accessing to some ga's parameters

2 vues (au cours des 30 derniers jours)
genevois pierre
genevois pierre le 13 Oct 2018
Hi, I cannot access to some values of parameters of ga as (names = values hereafter) :
options_ga.FitnessScalingFcn = @fitscalingrank
options_ga.SelectionFcn = {@selectiontournament, 4}
In the latter, I can access the 2nd parameter, but not to the function handle. I need to write the parameters of ga in an .xlsx file using xlswrite, that is done easily except for the function handles in the 2 examples above. I tried some conversions that didn't work. Thanks in advance for your help !

Réponses (0)

Catégories

En savoir plus sur MATLAB 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!

Translated by