bgpz2007 发表于 2013-3-7 19:47

emd包的安装过程,不会的可以进来看看

1、首先下载emd工具箱。下载后解压放在matlab的work工作路径下package_emd文件夹。
2、打开matlab,选择File- Set Path- Add with Subfolders-你刚才下载的工具箱(package_emd)点进去- Save- Close。
3、此时选择work下package_emd文件夹作为工作路径,即是D:\matlabR2006b\work\package_emd。
4、在Command Window里面第一步输入: mbuild -setup回车,问是否选择已有的编译器你选y回车,再问选择哪个编译器,你可以选择C++的那个选择相应的编号(如 2)回车,然后让你核对是否选择对了编译器等等,你输入y回车                     第二步输入:mex -setup回车,问是否选择已有的编译器你选y回车,再问选择哪个编译器,你可以选择C++的那个选择相应的编号(如 2)回车,然后让你核对是否选择对了编译器等等,你输入y回车                                           第三步输入:install_emd 回车,问是否选择已有的编译器你选y回车,再问选择哪个编译器,你可以选择C++的那个选择相应的编号(如 2)回车,然后让你核对是否选择对了编译器等等,你输入y回车5,恭喜你安装成功了了下边是过程第一步输入: mbuild -setup回车 mbuild -setup
Please choose your compiler for building standalone MATLAB applications:

Would you like mbuild to locate installed compilers /n? y\

Select a compiler:
Lcc-win32 C 2.4.1 in D:\MATLAB~1\sys\lcc
Microsoft Visual C++ 6.0 in C:\Program Files\Microsoft Visual Studio

None

Compiler: 2

Please verify your choices:

Compiler: Microsoft Visual C++ 6.0
Location: C:\Program Files\Microsoft Visual Studio

Are these correct?(/n): y

Trying to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R2007a\compopts.bat
From template:            D:\MATLAB~1\bin\win32\mbuildopts\msvc60compp.bat

Done . . .


--> "D:\MATLAB~1\bin\win32\mwregsvr D:\MATLAB~1\bin\win32\mwcomutil.dll"

DllRegisterServer in D:\MATLAB~1\bin\win32\mwcomutil.dll succeeded

--> "D:\MATLAB~1\bin\win32\mwregsvr D:\MATLAB~1\bin\win32\mwcommgr.dll"

DllRegisterServer in D:\MATLAB~1\bin\win32\mwcommgr.dll succeeded第二步输入:mex -setup回车mex -setup
Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers /n? y

Select a compiler:
Lcc-win32 C 2.4.1 in D:\MATLAB~1\sys\lcc
Microsoft Visual C++ 6.0 in C:\Program Files\Microsoft Visual Studio

None

Compiler: 2

Please verify your choices:

Compiler: Microsoft Visual C++ 6.0
Location: C:\Program Files\Microsoft Visual Studio

Are these correct?(/n): y

Trying to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R2007a\mexopts.bat
From template:            D:\MATLAB~1\bin\win32\mexopts\msvc60opts.bat

Done . . .
第三步输入:install_emd 回车,>>install_emdcemdc.c
cemdc.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory

D:\MATLAB~1\BIN\MEX.PL: Error: Compile of 'cemdc.c' failed.

cemdc.c
cio.c(121) : warning C4018: '!=' : signed/unsigned mismatch
clocal_mean.c(58) : error C2065: 'M_PI' : undeclared identifier

D:\MATLAB~1\BIN\MEX.PL: Error: Compile of 'cemdc.c' failed.

cemdc_fix.c
cemdc_fix.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory

D:\MATLAB~1\BIN\MEX.PL: Error: Compile of 'cemdc_fix.c' failed.

cemdc_fix.c
cio_fix.c(104) : warning C4018: '!=' : signed/unsigned mismatch
clocal_mean.c(58) : error C2065: 'M_PI' : undeclared identifier

D:\MATLAB~1\BIN\MEX.PL: Error: Compile of 'cemdc_fix.c' failed.

cemdc2.c
cemdc2.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory

D:\MATLAB~1\BIN\MEX.PL: Error: Compile of 'cemdc2.c' failed.

cemdc2.c
cio.c(121) : warning C4018: '!=' : signed/unsigned mismatch
clocal_mean2.c(62) : error C2065: 'M_PI' : undeclared identifier

D:\MATLAB~1\BIN\MEX.PL: Error: Compile of 'cemdc2.c' failed.

cemdc2_fix.c
cemdc2_fix.c(19) : fatal error C1083: Cannot open include file: 'complex.h': No such file or directory

D:\MATLAB~1\BIN\MEX.PL: Error: Compile of 'cemdc2_fix.c' failed.

cemdc2_fix.c
cio_fix.c(104) : warning C4018: '!=' : signed/unsigned mismatch
clocal_mean2.c(62) : error C2065: 'M_PI' : undeclared identifier

D:\MATLAB~1\BIN\MEX.PL: Error: Compile of 'cemdc2_fix.c' failed.

Warning: The compilation of the following files failed:
> In make_emdc at 48
In install_emd at 26
cemdc.c
cemdc_fix.c
cemdc2.c
cemdc2_fix.cSome errors occurred during compilation. See details above.Installation complete. Run index_emd for a list of functions.IMPORTANT: After running INSTALL_EMD you must run the "savepath" command to save the installation
but be careful that if you previously removed parts of the path (using e.g. the "rmpath" command)
these will be permanently removed after you run "savepath"
>>

fred110 发表于 2013-3-15 10:26

这个编译了有什么用呢!要是直接复制到工具箱,然后path路径不可以嘛

bgpz2007 发表于 2013-3-15 11:20

fred110 发表于 2013-3-15 10:26 static/image/common/back.gif
这个编译了有什么用呢!要是直接复制到工具箱,然后path路径不可以嘛

好像是不可以的!!!!!把工具箱运行了一下!!!

lragy 发表于 2013-3-31 00:49

我把emd工具箱放到路径里,就能用进行分解了,并没有装什么c++啊,这是怎么回事????

lovesea 发表于 2013-4-1 10:22

不能免费下载东西啊?

bgpz2007 发表于 2013-4-8 15:56

lovesea 发表于 2013-4-1 10:22 static/image/common/back.gif
不能免费下载东西啊?

这个不是下载的,只是教你装end工具箱的方法

bgpz2007 发表于 2013-4-8 15:57

lragy 发表于 2013-3-31 00:49 static/image/common/back.gif
我把emd工具箱放到路径里,就能用进行分解了,并没有装什么c++啊,这是怎么回事????

有些人用到c++

b728664 发表于 2013-4-23 16:43

謝謝 分享囉

bgpz2007 发表于 2013-4-24 08:52

b728664 发表于 2013-4-23 16:43 static/image/common/back.gif
謝謝 分享囉

{:{05}:}

none2012 发表于 2013-4-29 00:53

本帖最后由 none2012 于 2013-4-29 00:54 编辑

请问,输mbuild -setup时,有3个选项,其中有个编译器是VC++6.0,但当运行mex -setup时,就只有2个选项,没有了C++那个了,无奈选了Lcc-win32 C 2.4.1 ,最后运行install_emd,也安装完成了,就是中间出现了一大推错误,lcc preprocessor error: cemdc_fix.c:19 Could not find include file <complex.h>Compile of 'cemdc2_fix.c' failed. 不过好在emd能进行分解了,应该可以用了,但不知道安装时出现的错误是怎么回事?另外第二部为什么只有了2个选项,不见了C++那个,编译器选的不同,会不会有什么不同影响?

bgpz2007 发表于 2013-5-3 14:44

none2012 发表于 2013-4-29 00:53 static/image/common/back.gif
请问,输mbuild -setup时,有3个选项,其中有个编译器是VC++6.0,但当运行mex -setup时,就只有2个选项,没 ...

你安装c++了么?

none2012 发表于 2013-5-3 16:11

bgpz2007 发表于 2013-5-3 14:44 static/image/common/back.gif
你安装c++了么?

安装了C++6.0,不过也能用了,谢谢

沐雨柠檬 发表于 2013-5-18 16:58

安装emd工具箱一定要装c++吗?不装不可以吗?我不用c++,请指教,不安装c++可以安装emd工具箱吗?这样的话该如何操作?

bgpz2007 发表于 2013-5-20 09:15

沐雨柠檬 发表于 2013-5-18 16:58 static/image/common/back.gif
安装emd工具箱一定要装c++吗?不装不可以吗?我不用c++,请指教,不安装c++可以安装emd工具箱吗?这样的话该 ...

有些没安装就可以用,我建议你是安装上!!!虽然你不用c++

小辛小铭 发表于 2013-10-14 15:58

谢谢 很有用处
页: [1] 2 3
查看完整版本: emd包的安装过程,不会的可以进来看看