声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 2286|回复: 2

[求助]mcc编译问题

[复制链接]
发表于 2006-4-11 11:57 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
我使用mcc编译dll文件出现问题:<BR>mcc -t -W libhg:test -T link:lib -h libmmfile.mlib xbspro.m;<BR>我使用了matlab的一维离散小波分解swt<BR>编译时,出现下列问题:<BR>---------------------------------------<BR>Warning: File: dwtmode Line: 76 Column: 28<BR>"dwt_default_Attrb" has not been defined prior to use on this line.<BR>Warning: File: c:\matlab6p5\toolbox\wavelet\wavelet\dwtmode.m Line: 75 Column: 31<BR>This load statement referred to variable "-mat" that was not referenced in the function.<BR>Warning: File: c:\matlab6p5\toolbox\wavelet\wavelet\dwtmode.m Line: 106 Column: 19<BR>The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\wavelet\wavelet\wfilters.m Line: 50 Column: 17<BR>This load statement referred to variable "-mat" that was not referenced in the function.<BR>Warning: File: c:\matlab6p5\toolbox\wavelet\wavelet\wtbxmngr.m Line: 82 Column: 15<BR>The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\wavelet\wavelet\wtbxmngr.m Line: 97 Column: 28<BR>This load statement referred to variable "-mat" that was not referenced in the function.<BR>Warning: File: c:\matlab6p5\toolbox\wavelet\wavelet\wtbxmngr.m Line: 128 Column: 32<BR>The "what" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\wavelet\wavelet\wtbxmngr.m Line: 144 Column: 11<BR>The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\wavelet\wavelet\wtbxmngr.m Line: 155 Column: 11<BR>The "which" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\path.m Line: 32 Column: 7<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\path.m Line: 41 Column: 5<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\path.m Line: 48 Column: 10<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\path.m Line: 55 Column: 25<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\path.m Line: 57 Column: 25<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\path.m Line: 112 Column: 9<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\path.m Line: 114 Column: 9<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\path.m Line: 116 Column: 9<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\path.m Line: 121 Column: 20<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\rmpath.m Line: 23 Column: 14<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>Warning: File: c:\matlab6p5\toolbox\matlab\general\rmpath.m Line: 78 Column: 1<BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR>---------------------------------------<BR>请我该如何解决!!
回复
分享到:

使用道具 举报

发表于 2006-4-11 21:41 | 显示全部楼层

回复:(eonzhang)[求助]mcc编译问题

<DIV class=quote><B>以下是引用<I>eonzhang</I>在2006-4-11 11:57:55的发言:</B><BR>The "matlabpath" function is only available in MEX mode. A run-time error will occur if this code is executed in stand-alone mode.<BR></DIV>
<P>这一类所错误是因为VC好像对类似于(i,:)这样的符号,改为1这样的具体数字后又可以运行下去</P>
发表于 2006-4-11 21:42 | 显示全部楼层

回复:(eonzhang)[求助]mcc编译问题

个人感觉从matlab转化还不如直接用c来写代码来的划算
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-11-13 00:00 , Processed in 0.056641 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表