您的位置:首页 > 编程语言 > MATLAB

matlab中genetic tool的安装

2014-03-23 16:21 281 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: