accessing to some ga's parameters

2 views (last 30 days)
genevois pierre
genevois pierre on 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 !

Answers (0)

Categories

Find more on Structures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!