24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 1544  |  回复: 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 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 349求调剂 +11 zwjjjjjj 2026-03-31 12/600 2026-04-06 21:27 by zwjjjjjj
[考研] 336求调剂,一志愿中科大 +5 墨彧 yuyu 2026-04-06 5/250 2026-04-06 21:24 by 52305043001
[考研] 材料工程调剂 +3 小刘同学吖吖 2026-04-06 4/200 2026-04-06 20:56 by lbsjt
[考研] 机械专硕274求调剂,不挑专业学校 +6 泛泛2333 2026-04-05 8/400 2026-04-06 18:06 by 泛泛2333
[考研] 0703总分331求调剂 +12 ZY-05 2026-04-04 16/800 2026-04-06 17:54 by lijunpoly
[考研] 318求调剂 +12 ykyhsa 2026-04-05 14/700 2026-04-06 17:46 by fuyu_
[考研] 081700,311,求调剂 +16 冬十三 2026-04-04 17/850 2026-04-06 14:56 by 尚水阁主
[考研] 324求调剂 +3 k可乐 2026-04-05 4/200 2026-04-06 09:54 by 蓝云思雨
[考研] 308求调剂 +4 maverick^_^ 2026-04-03 4/200 2026-04-05 19:08 by 蓝云思雨
[考研] 282求调剂 +3 aaa车辆 2026-04-01 3/150 2026-04-05 17:03 by yulian1987
[考研] 328分调剂 +6 门men 2026-04-04 6/300 2026-04-05 13:40 by imissbao
[考研] 085701求调剂 +7 龚禹铭 2026-04-04 8/400 2026-04-04 13:49 by 小小树2024
[基金申请] esi高被引论文是不是能对中标有所加分和帮助呢 +5 redcom 2026-04-01 6/300 2026-04-03 15:15 by Howard28
[考研] 315分 085602 求调剂 +15 26考研上岸版26 2026-04-02 15/750 2026-04-03 12:45 by xingguangj
[考研] 303求调剂 +3 一色清羽 2026-04-02 4/200 2026-04-03 10:22 by 蓝云思雨
[考研] 材料考研调剂 +10 Gs大王 2026-04-02 10/500 2026-04-03 09:47 by 遗忘消失的灆
[考研] 293求调剂 +4 珂珂乐 2026-04-02 4/200 2026-04-02 20:10 by 6781022
[考研] 一志愿北京科技大学材料学硕328分求调剂 +6 1段时间 2026-03-31 7/350 2026-04-02 13:57 by 3041
[考研] 材料工程322分 +8 哈哈哈吼吼吼哈 2026-04-01 8/400 2026-04-02 11:53 by 3041
[考研] 材料求调剂 +10 呢呢妮妮 2026-04-01 13/650 2026-04-02 09:17 by olim
信息提示
请填处理意见