Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 工程数学软件 > MATLAB论坛
MATLAB论坛 一切MATLAB相关问题在此讨论。
回复
 
主题工具 显示模式
旧 2008-06-06, 10:39   #1
diagnosis
初级会员
 
注册日期: 2008-06-06
年龄: 42
帖子: 2
声望力: 0
diagnosis 正向着好的方向发展
默认 求救解决com编译过程中问题!!!



我现在基于COM做matlab6.5+VC6.0的混合编程,通过学习许多前辈的贴子,现在在matlab调用一般的函数(如FFT,plot,plot3)等我都实现了,也能成功实现以数组、矩阵为输入、输出参数的函数调用,自己还正在做了一个视屏教程,完善后不久将发布,以供分享!!(我的联系方式:QQ:1006581844)
同时,我在开发COM组件过程中也遇到了问题,比如说我现在想开发能够进行“小波分析”的组件,其中肯定会用到工具箱的一些函数(如cwt,wavedec),可是在编译过程中却出现如下英文示的警告:

"dwt_default_Attrb" has not been defined prior to use on this line.
Warning: File: f:/matlab/toolbox/wavelet/wavelet/wfilters.m Line: 50 Column: 17
This load statement referred to variable "-mat" that was not referenced in the function.
Warning: File: f:/matlab/toolbox/wavelet/wavelet/dwtmode.m Line: 75 Column: 31
This load statement referred to variable "-mat" that was not referenced in the function.
Warning: File: f:/matlab/toolbox/wavelet/wavelet/dwtmode.m Line: 106 Column: 19
The "which" function is only available in MEX mode. A run-time error will occur if this code is
executed in stand-alone mode.
Warning: File: f:/matlab/toolbox/wavelet/wavelet/wtbxmngr.m Line: 82 Column: 15
The "which" function is only available in MEX mode. A run-time error will occur if this code is
executed in stand-alone mode.
Warning: File: f:/matlab/toolbox/wavelet/wavelet/wtbxmngr.m Line: 97 Column: 28
This load statement referred to variable "-mat" that was not referenced in the function.
Warning: File: f:/matlab/toolbox/wavelet/wavelet/wtbxmngr.m Line: 128 Column: 32
The "what" function is only available in MEX mode. A run-time error will occur if this code is
executed in stand-alone mode.
Warning: File: f:/matlab/toolbox/wavelet/wavelet/wtbxmngr.m Line: 144 Column: 11
The "which" function is only available in MEX mode. A run-time error will occur if this code is
executed in stand-alone mode.
Warning: File: f:/matlab/toolbox/wavelet/wavelet/wtbxmngr.m Line: 155 Column: 11
The "which" function is only available in MEX mode. A run-time error will occur if this code is
executed in stand-alone mode.
Warning: File: f:/matlab/toolbox/matlab/general/path.m Line: 32 Column: 7
The "matlabpath" function is only available in MEX mode. A run-time error will occur if this
code is executed in stand-alone mode.
Warning: File: f:/matlab/toolbox/matlab/general/path.m Line: 41 Column: 5



我在VC中调用的时候,程序执行时在最后调用com中含有的小波分析函数时,总显示不能成功运行。我在各个论坛里找了好长时间,也发现有很多提出相类似的问题,一直没能解决这个难题,很是着急,还望高手赐教!!!

附件中是我用于生成COM组件的.m文件(WaveletTraConTwo)。
上传的附件
文件类型: rar WaveletTraConTwo.rar (357 字节, 3 次查看)
diagnosis 当前离线   回复时引用此帖
旧 2008-06-12, 09:46   #2
diagnosis
初级会员
 
注册日期: 2008-06-06
年龄: 42
帖子: 2
声望力: 0
diagnosis 正向着好的方向发展
默认

自己提的问题自己搞定了,换MATLAB6.5为MATLAB R2006B就OK了!!:biggrin:
diagnosis 当前离线   回复时引用此帖
回复


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码


相似的主题
主题 主题作者 版面 回复 最后发表
[分享][原创]有序样品分类程序免费送 meteora1005 MATLAB论坛 0 2008-09-16 10:53


所有时间均为北京时间。现在的时间是 15:06


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.