
The fitness function is: sum(y1-y2)^2, this is to keep the error small.
In every single generation will take the data from y1 and y1 mathematically from m-file, This has been done.
However, I need GA taking the data from simulation (blocks).
Can the ga code import y1 and y2 data from the simulation?
Thanks
