24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1431  |  回复: 6
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

yangna2011

新虫 (初入文坛)

[求助] Matlab 遗传工具箱安装后,出现警告,怎么办

我用的是matlab2008版,遗传工具箱是Sheffield遗传算法工具箱,但是在运行中出现警告,> Chrom=crtbp(5,10)
Warning: Could not find an exact (case-sensitive) match for 'crtbp'.
C:\Temp\toolbox\gatbx\CRTBP.m is a case-insensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactCaseMatch').
This warning will become an error in future releases.
Warning: Could not find an exact (case-sensitive) match for 'crtbase'.
C:\Temp\toolbox\gatbx\CRTBASE.m is a case-insensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactCaseMatch').
This warning will become an error in future releases.
> In CRTBP at 53

Chrom =

     1     0     0     0     1     1     1     1     0     0
     1     0     1     0     0     1     0     1     0     0
     0     1     1     1     1     0     0     0     1     1
     1     1     0     1     1     1     0     1     1     1
     1     1     1     1     1     0     0     0     0     1
我试过百度上搜索的各种方法,还是没法解决,求大虾指导迷津,偶感谢不尽
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

一切皆有可能
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

libralibra

至尊木虫 (著名写手)

骠骑将军

【答案】应助回帖

引用回帖:
5楼: Originally posted by yangna2011 at 2013-04-19 09:03:33
有的,要不没法用,现在可以用,就是有警告...

这个警告明显是找不到对应函数的问题.
你去把那些大写的.M(文件后缀)都改成小写的.m,改完后将原来的路径删除,重新add path,然后试试.
matlab/VB/python/c++/Java写程序请发QQ邮件:790404545@qq.com
6楼2013-04-19 15:54:36
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 7 个回答

libralibra

至尊木虫 (著名写手)

骠骑将军

【答案】应助回帖

感谢参与,应助指数 +1
ben_ladeng: 专家考核 2013-04-20 22:09:14
Chrom=crtbp(5,10)
Warning: Could not find an exact (case-sensitive) match for 'crtbp'.
C:\Temp\toolbox\gatbx\CRTBP.m is a case-insensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactCaseMatch').
This warning will become an error in future releases.
==============================================
matlab是大小写敏感的,找不到crtbp函数时,尝试使用CRTBP来代替.既然原工具箱的m文件是大写,你用大写就好了.

Warning: Could not find an exact (case-sensitive) match for 'crtbase'.
C:\Temp\toolbox\gatbx\CRTBASE.m is a case-insensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactCaseMatch').
This warning will become an error in future releases.
=================================================
同样的问题,不存在crtbase,改成CRTBASE即可
matlab/VB/python/c++/Java写程序请发QQ邮件:790404545@qq.com
2楼2013-04-18 17:18:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yangna2011

新虫 (初入文坛)

引用回帖:
2楼: Originally posted by libralibra at 2013-04-18 17:18:48
Chrom=crtbp(5,10)
Warning: Could not find an exact (case-sensitive) match for 'crtbp'.
C:\Temp\toolbox\gatbx\CRTBP.m is a case-insensitive match and will be used instead.
You can improve the perfo ...

>> Chrom=CRTBP(5,10)
Warning: Could not find an exact (case-sensitive) match for 'CRTBP'.
C:\Temp\toolbox\gatbx\CRTBP.M is a case-insensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactCaseMatch').
This warning will become an error in future releases.
Warning: Could not find an exact (case-sensitive) match for 'crtbase'.
C:\Temp\toolbox\gatbx\CRTBASE.M is a case-insensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactCaseMatch').
This warning will become an error in future releases.
> In CRTBP at 53

Chrom =

     1     0     0     0     1     1     1     1     0     0
     1     0     1     0     0     1     0     1     0     0
     0     1     1     1     1     0     0     0     1     1
     1     1     0     1     1     1     0     1     1     1
     1     1     1     1     1     0     0     0     0     1

>> 按你说的做了,还是如此
一切皆有可能
3楼2013-04-18 18:28:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

libralibra

至尊木虫 (著名写手)

骠骑将军

【答案】应助回帖

ben_ladeng: 专家考核 2013-04-20 22:09:33
你有按照要求安装完了后把C:\Temp\toolbox\gatbx加入到你的path里面吗?
matlab/VB/python/c++/Java写程序请发QQ邮件:790404545@qq.com
4楼2013-04-19 00:07:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见