24小时热门版块排行榜    

查看: 1532  |  回复: 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

至尊木虫 (著名写手)

骠骑将军

【答案】应助回帖

感谢参与,应助指数 +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的回帖

yangna2011

新虫 (初入文坛)

引用回帖:
4楼: Originally posted by libralibra at 2013-04-19 00:07:53
你有按照要求安装完了后把C:\Temp\toolbox\gatbx加入到你的path里面吗?

有的,要不没法用,现在可以用,就是有警告
一切皆有可能
5楼2013-04-19 09:03:33
已阅   回复此楼   关注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的回帖

doogoofeng

金虫 (正式写手)

【答案】应助回帖

在程序开始写上  warning('off','MATLAB:dispatcher:InexactCaseMatch')
问题解决
7楼2013-05-26 07:48:17
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 yangna2011 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 301求调剂 +4 yy要上岸呀 2026-03-17 4/200 2026-03-17 17:37 by ruiyingmiao
[考研] 【0856】化学工程(085602)313 分,本科学科评估A类院校化学工程与工艺,诚求调剂 +7 小刘快快上岸 2026-03-11 8/400 2026-03-17 16:57 by ruiyingmiao
[考研] 材料与化工求调剂 +5 为学666 2026-03-16 5/250 2026-03-17 16:40 by 无际的草原
[考研] 26考研求调剂 +6 丶宏Sir 2026-03-13 6/300 2026-03-17 16:13 by 醉在风里
[考研] 材料工程专硕274一志愿211求调剂 +6 薛云鹏 2026-03-15 6/300 2026-03-17 11:05 by 学员h26Tkc
[考研] 274求调剂 +5 时间点 2026-03-13 5/250 2026-03-17 07:34 by 热情沙漠
[考研] 11408 一志愿西电,277分求调剂 +3 zhouzhen654 2026-03-16 3/150 2026-03-17 07:03 by laoshidan
[考研] 0703化学调剂 +6 妮妮ninicgb 2026-03-15 9/450 2026-03-16 16:40 by houyaoxu
[考研] 311求调剂 +5 26研0 2026-03-15 5/250 2026-03-16 16:21 by a不易
[考研] 0703化学调剂 290分有科研经历,论文在投 +7 腻腻gk 2026-03-14 7/350 2026-03-16 10:12 by houyaoxu
[考研] 材料与化工 323 英一+数二+物化,一志愿:哈工大 本人本科双一流 +4 自由的_飞翔 2026-03-13 5/250 2026-03-14 19:39 by hmn_wj
[考研] 中科大材料专硕319求调剂 +3 孟鑫材料 2026-03-13 3/150 2026-03-14 18:10 by houyaoxu
[考研] 复试调剂 +4 z1z2z3879 2026-03-14 5/250 2026-03-14 16:30 by JourneyLucky
[考研] 285 求调剂 资源与环境 一志愿北京化工大学 +3 未名考生 2026-03-10 3/150 2026-03-13 23:04 by JourneyLucky
[考研] 求调剂(材料与化工327) +4 爱吃香菜啦 2026-03-11 4/200 2026-03-13 22:11 by JourneyLucky
[考研] 315求调剂 +9 小羊小羊_ 2026-03-11 10/500 2026-03-13 21:13 by SXNU李老师
[考研] 295求调剂 +3 小匕仔汁 2026-03-12 3/150 2026-03-13 15:17 by vgtyfty
[考研] 0856化学工程280分求调剂 +4 shenzxsn 2026-03-11 4/200 2026-03-13 11:55 by ymwdoctor
[考研] 289求调剂 +3 李政莹 2026-03-12 3/150 2026-03-13 11:02 by 求调剂zz
[考研] 279求调剂 +3 莫xiao 2026-03-10 4/200 2026-03-11 08:06 by 斩魂滴兔子!
信息提示
请填处理意见