中文说明:应用背景运用基于Matlab的遗传算法工具箱非常方便,遗传算法工具箱里包括了我们需要的各种函数库 。目前,基于Matlab的遗传算法工具箱也很多,比较流行的有英国设菲尔德大学开发的遗传算法工具箱GATBX、GAOT以及Math Works公司推出的GADS。实际上,GADS就是大家所看到的 Matlab中自带的工具箱。我在网上看到有问为什么遗传算法函数不能调用的问题,其实,主要 就是因为用的工具箱不同。因为,有些人用的是GATBX带有的函数。关键技术MATLAB自带的遗传算法 工具箱是GADS,GADS当然没有GATBX里的函数,因此运行程序时会报错,当你用MATLAB来编写 遗传算法代码时,要根据你所安装的工具箱来编写代码。 以GATBX为例,运用GATBX时,要将GATBX解压到Matlab下的toolbox文件夹里,同时,set path 将GATBX文件夹加入到路径当中。
English Description:
Application backgroundThe use of genetic algorithm based on Matlab toolbox is very convenient, genetic algorithm toolbox, including the various functions we need . At present, based on the matlab genetic algorithm toolbox are also many, the more popular is developed at the University of Sheffield UK genetic algorithm toolbox gatbx, GAOT and Math works company launched gads. In fact, GADS is what we see in the the Matlab comes with the toolbox. I see on the Internet have asked why the genetic algorithm function can not call the problem, in fact, the main because the use of the toolbox is different. Because some people use the function of GATBX.Key TechnologyMATLAB comes with the genetic algorithm the toolbox is GADS, GADS,, of course, there is no function in GATBX, so running the program will be reported wrong, when you use to write MATLAB; genetic algorithm code, according to your installed toolbox to wri