Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#1 |
初级会员
注册日期: 2008-06-06
年龄: 42
帖子: 2
声望力: 0 ![]() |
![]() 我现在基于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)。 |
![]() |
![]() |