24小时热门版块排行榜    

查看: 1757  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[博后之家] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +4 IDs3scOF0tjC 2026-09-28 4/200 2026-09-29 19:27 by cqwQDCxMcL3I
[找工作] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +4 ZYXdhzDAy9ZX 2026-09-28 4/200 2026-09-29 16:54 by yCO1Ll7aHtsw
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 ZYXdhzDAy9ZX 2026-09-28 4/200 2026-09-29 16:47 by yCO1Ll7aHtsw
[博后之家] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 ZYXdhzDAy9ZX 2026-09-28 3/150 2026-09-29 16:30 by etmYJ6d2rquH
[考博] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 tqUTOxClQUMF 2026-09-28 3/150 2026-09-29 15:46 by etmYJ6d2rquH
[博后之家] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 tqUTOxClQUMF 2026-09-28 3/150 2026-09-29 15:04 by etmYJ6d2rquH
[公派出国] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 tqUTOxClQUMF 2026-09-28 3/150 2026-09-29 14:58 by etmYJ6d2rquH
[考研] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 CfXuS1rDhLYN 2026-09-28 3/150 2026-09-29 14:24 by etmYJ6d2rquH
[找工作] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +6 IDs3scOF0tjC 2026-09-28 6/300 2026-09-29 14:13 by etmYJ6d2rquH
[博后之家] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 IDs3scOF0tjC 2026-09-28 3/150 2026-09-29 13:56 by etmYJ6d2rquH
[考研] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 tqUTOxClQUMF 2026-09-28 3/150 2026-09-29 09:59 by JzYBbHIXWSrW
[教师之家] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +4 GDBe8tDZqE8z 2026-09-28 4/200 2026-09-29 09:49 by JzYBbHIXWSrW
[找工作] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 ZYXdhzDAy9ZX 2026-09-28 3/150 2026-09-29 06:28 by ZvyPK8n6Nfki
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 tqUTOxClQUMF 2026-09-28 3/150 2026-09-28 23:46 by b8fCuTHqckEt
[考研] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 GDBe8tDZqE8z 2026-09-28 3/150 2026-09-28 23:12 by b8fCuTHqckEt
[公派出国] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +4 IDs3scOF0tjC 2026-09-28 4/200 2026-09-28 22:55 by ez6fGg9abYaj
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +3 CfXuS1rDhLYN 2026-09-28 4/200 2026-09-28 22:55 by ez6fGg9abYaj
[有机交流] 同一个分子,一条来自文献,一条来自AI——不告诉你答案,你会选哪条? +3 tianxiaoxian 2026-09-28 6/300 2026-09-28 22:44 by tianxiaoxian
[考博] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 IDs3scOF0tjC 2026-09-28 6/300 2026-09-28 22:15 by ez6fGg9abYaj
[论文投稿] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 CfXuS1rDhLYN 2026-09-28 3/150 2026-09-28 19:08 by 9lS3ad5oOymn
信息提示
请填处理意见