未定义函数或变量 'test'。
出错 fun2>Code (line 60)flag=test(lenchrom,bound,ret);
出错 fun2 (line 18)GApop(i,:)=Code(lenchrom,bound);
既然如此,检查下test是否定义了,或者把数组当函数调用?