I am trying to paralelize my Genetic Algorith Code, using codistributed function of matlab, but shows this error.. UndefinedFunction error was thrown on the workers for 'sizeofChrome_dis_local'. This may be because the file containing 'sizeofChrome_dis_local' is not accessible on the workers. I introduced a number of chromosomes of 8 and genes 2 and use a simple function as ObjFunction= @Sphere.
I appreciate any support information
Here are some lines of the code....
Chrom_dis= codistributed(Chrom, codistributor1d(1));
sizeofChrom_dis_local= size(Chrom_dis_local, 1);