用安装吗?
在matlab里file里set path里把EMD的文夹件和所有子文件夹加进去就行了,这样里面的.m文件就也能用了....不一定要安装的. 我说怎么装不上呢,呵呵,晓得了 请问各位装的Microsoft Visual C++ 6.0都是什么版本的?企业版的还是精简版?我用mbuild -setup找不到路径啊 回复 9 # zzj936 的帖子我出现了和你一样的问题,请问是怎么解决的? install_emd
??? Undefined function or variable 'install_emd'.
按9楼的说明,第一步和第二步的安装都没有问题,在第三步安装出现上述错误。
怎么解决?
下载了帖子:http://forum.vibunion.com/thread-55430-1-1.html中的package_emd.zip文件,解压到matlab的toolbox目录中,添加到matlab的路径中。
{:{20}:}{:{20}:}安装上了,咋不能用呢?"s" was previously used as a function,
conflicting with its use here as the name of a variable. 回复 21 # sweetcrying 的帖子
再检查一下你的程序。不明白的话贴上来询问。 我用的是论坛里面发过的例子,
t=1:500;
t=t*1/2000;
x=sin(2*pi*20*t);
y=0.4*sin(2*pi*40*t+140);
z=x+y;
plot(t,z)
imf=emd(z);
emd_visu(z,1:length(z),imf)
=hhspectrum(imf);
=toimage(A,f);
disp_hhs(im);
colormap(flipud(gray))
??? Error: File: D:\Matlab7.0\work\package_emd\EMDs\emd.m Line: 218 Column: 26
"s" was previously used as a function,
conflicting with its use here as the name of a variable. 我分步运行了下,只要运行imf=emd(z);
就会出现,上面的那个错误,麻烦高手给指点一下。{:{51}:} 回复 23 # sweetcrying 的帖子
运行过了 没有问题。
检查一下你的工具箱 装完以后,从Start那里找不到的,难道是我matlab版本的问题,我去用别人的机子跑下去。{:{20}:} 安装install_emd这一步还是装不上啊,
>>install_emd
??? Undefined function or variable 'install_emd'.
这该肿么办啊?? 已解决~~{:{20}:} thank you for your sharing. 按照set path的方法加入路径后,运行install_emd,出现了如下的错误:
找不到 D:\matlab\toolbox\package_emd\EMDs\../emdc.dll.exp
找不到 D:\matlab\toolbox\package_emd\EMDs\../emdc.dll.lib
找不到 D:\matlab\toolbox\package_emd\EMDs\../emdc_fix.dll.exp
找不到 D:\matlab\toolbox\package_emd\EMDs\../emdc_fix.dll.lib
lcc preprocessor error: cemdc.c:19 Could not find include file <complex.h>
Error cemdc.c: .\cio.h: 31syntax error; found `*' expecting `;'
Error cemdc.c: .\cio.h: 31skipping `*' `y'
Error cemdc.c: .\cio.h: 39syntax error; found `*' expecting `;'
Error cemdc.c: .\cio.h: 39skipping `*' `pointer'
Error cemdc.c: .\cio.h: 53syntax error; found `*' expecting `)'
Error cemdc.c: .\cio.h: 53skipping `*' `,'
Error cemdc.c: .\cio.h: 53missing name for parameter 1 to function `add_imf'
Error cemdc.c: .\cio.h: 53syntax error; found `int' expecting `{'
Error cemdc.c: .\cio.h: 53empty declaration
Error cemdc.c: .\cio.h: 53syntax error; found `)' expecting `;'
Error cemdc.c: .\cio.h: 53skipping `)'
Error cemdc.c: .\cextr.h: 28syntax error; found `*' expecting `)'
Error cemdc.c: .\cextr.h: 28skipping `*' `,'
Error cemdc.c: .\cextr.h: 28syntax error; found `double' expecting `;'
Error cemdc.c: .\cextr.h: 28empty declaration
Error cemdc.c: .\cextr.h: 28syntax error; found `,' expecting `;'
Error cemdc.c: .\cextr.h: 28skipping `,'
Error cemdc.c: .\cextr.h: 28empty declaration
Error cemdc.c: .\cextr.h: 28syntax error; found `,' expecting `;'
Error cemdc.c: .\cextr.h: 28too many errors
D:\MATLAB\BIN\WIN32\MEX.PL: Error: Compile of 'cemdc.c' failed.
找不到 D:\matlab\toolbox\package_emd\EMDs\../cemdc.dll.exp
找不到 D:\matlab\toolbox\package_emd\EMDs\../cemdc.dll.lib
lcc preprocessor error: cemdc_fix.c:19 Could not find include file <complex.h>
Error cemdc_fix.c: .\cio_fix.h: 27syntax error; found `*' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 27skipping `*' `y'
Error cemdc_fix.c: .\cio_fix.h: 34syntax error; found `*' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 34skipping `*' `pointer'
Error cemdc_fix.c: .\cio_fix.h: 48syntax error; found `*' expecting `)'
Error cemdc_fix.c: .\cio_fix.h: 48skipping `*' `,'
Error cemdc_fix.c: .\cio_fix.h: 48missing name for parameter 1 to function `add_imf'
Error cemdc_fix.c: .\cio_fix.h: 48syntax error; found `int' expecting `{'
Error cemdc_fix.c: .\cio_fix.h: 48empty declaration
Error cemdc_fix.c: .\cio_fix.h: 48syntax error; found `)' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 48skipping `)'
Error cemdc_fix.c: .\cextr.h: 28syntax error; found `*' expecting `)'
Error cemdc_fix.c: .\cextr.h: 28skipping `*' `,'
Error cemdc_fix.c: .\cextr.h: 28syntax error; found `double' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28empty declaration
Error cemdc_fix.c: .\cextr.h: 28syntax error; found `,' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28skipping `,'
Error cemdc_fix.c: .\cextr.h: 28empty declaration
Error cemdc_fix.c: .\cextr.h: 28syntax error; found `,' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28too many errors 文件夹里明明有这几个文件啊