matlab中genetic tool的安装

来源:互联网 发布:windows 2012 ping不通 编辑:程序博客网 时间:2024/06/15 14:44

1:到http://www.shef.ac.uk/acse/research/ecrg/gat.html.搜索genetic tool然后下载。

 

2:下载后解压后你可以看到有些 m-files 和 subfolders 'DOC' 和 'test_fns.

 

3:重命名为genetic,然后拷贝到D:\matlab 2012\toolbox。

 

4:修改D:\matlab 2012\toolbox\local中pathdef.m的文件(先保存一份副本做备份)。

 

5:在pathdef.m中加入

 matlabroot,'\toolbox\genetic;',...

 matlabroot,'\toolbox\genetic\test_fns;',...

(注意不要添加空行等等,不然会报错)

 

6:重启matlab即可使用啦。

 

 

tips: 如果出现MATLAB Toolbox Path Cache is out of date and is not being used.

则按照所说的将file->pereference->general中的enable toolbox path cache勾选即可。

 

参考来源:FAQ:http://codem.group.shef.ac.uk/index.php/ga-toolbox/qa-faq

0 0
原创粉丝点击