accessing to some ga's parameters

2 次查看(过去 30 天)
genevois pierre
genevois pierre 2018-10-13
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 !

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by