accessing to some ga's parameters

조회 수: 1 (최근 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