accessing to some ga's parameters

2 visualizzazioni (ultimi 30 giorni)
genevois pierre
genevois pierre il 13 Ott 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 !

Risposte (0)

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by