24小时热门版块排行榜    

查看: 1708  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[基金申请] filecode,4个jtjc了 +8 ziyangfang 2026-08-19 9/450 2026-08-19 13:08 by blacksandy
[基金申请] 今天基金会出结果吗?20260819 +8 kkkl_v 2026-08-19 8/400 2026-08-19 12:34 by Vivilian
[基金申请] 欢迎发来filecode的Mz6后的代码验证其规律 +52 医学老男孩 2026-08-13 115/5750 2026-08-19 12:09 by 医学老男孩
[基金申请] 2027广东省杰青 +4 奶牛小黑 2026-08-15 10/500 2026-08-19 11:02 by wanfengnew
[基金申请] 快农历七夕节了,轻松一下,男人悄悄话,女施主请不要进来。 +6 Tide man 2026-08-14 7/350 2026-08-19 09:56 by ZJTJZ
[基金申请] 什么时候开奖? +6 CrisMessi 2026-08-18 6/300 2026-08-19 08:06 by Equinoxhua
[基金申请] 结合人工智能,周易传统文化,filecode打分制来了,3分以上希望很大。 +4 Tide man 2026-08-12 5/250 2026-08-19 07:41 by 201120518022
[基金申请] 重要消息,中午系统在维护 +10 yuleib84 2026-08-18 11/550 2026-08-19 07:30 by 羽毛枫f
[基金申请] 明天放榜? +5 Shxjjxjkx 2026-08-18 5/250 2026-08-18 18:14 by -大大大大大-
[论文投稿] 投稿咨询 +4 wwm09 2026-08-17 6/300 2026-08-18 15:36 by wwm09
[基金申请] 时间戳又变了8-15 +14 archvillain 2026-08-15 26/1300 2026-08-18 13:37 by phantomgost
[基金申请] 今天维护系统维护 祝所有人 高中 +8 gjjjzhong 2026-08-18 9/450 2026-08-18 13:01 by 家与远方
[基金申请] 93BebMhtakh前后11位开头都是大写 +4 且听虎啸 2026-08-17 5/250 2026-08-18 00:49 by 蔡棒棒菂
[基金申请] 感觉是下周放榜了 +6 angus9576 2026-08-17 11/550 2026-08-17 23:57 by angus9576
[基金申请] filecode=后面第一个是大写字母 +8 wangze12014 2026-08-14 10/500 2026-08-17 17:05 by xter9665
[基金申请] 今天系统多次维护,明天很可能放榜! +8 zju2000 2026-08-16 9/450 2026-08-17 12:20 by lmz0216
[精细化工] 招聘 金属平磨液,抛光液研发工程师 +3 小天0311 2026-08-14 3/150 2026-08-16 07:31 by H9PLUS
[基金申请] 各位道友,我要去昆明玩几天,回来见。 +7 Tide man 2026-08-14 8/400 2026-08-15 01:11 by arzu_hma
[基金申请] 重要来源:本周末出结果 +10 瞬息宇宙 2026-08-12 10/500 2026-08-13 15:46 by likettle
[基金申请] Filecode 又变了,巨变 +3 WH3796 2026-08-12 4/200 2026-08-13 14:13 by 小木虫6752397
信息提示
请填处理意见