Genetic Algorithm functions unrecognized

I have this code for a knaspack problem and the function of selection causes me an error. I dont know why.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 12월 1일

0 개 추천

After line 201
nueva2=nueva1;
there should be an end statement before the next line
function [nueva]= selection(poblacioninicial,fitvalue)
and there should be one fewer end statements at the bottom of the file.

카테고리

제품

릴리스

R2021b

질문:

2021년 12월 1일

답변:

2021년 12월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by