声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 7394|回复: 34

[共享资源] emd包的安装过程,不会的可以进来看看

  [复制链接]
发表于 2013-3-7 19:47 | 显示全部楼层 |阅读模式

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

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

x
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 [y]/n? y\

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

[0] None

Compiler: 2

Please verify your choices:

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

Are these correct?([y]/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 [y]/n? y

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

[0] None

Compiler: 2

Please verify your choices:

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

Are these correct?([y]/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"
>>

评分

3

查看全部评分

本帖被以下淘专辑推荐:

回复
分享到:

使用道具 举报

发表于 2013-3-15 10:26 | 显示全部楼层
这个编译了有什么用呢!要是直接复制到工具箱,然后path路径不可以嘛
 楼主| 发表于 2013-3-15 11:20 | 显示全部楼层
发表于 2013-3-31 00:49 | 显示全部楼层
我把emd工具箱放到路径里,就能用进行分解了,并没有装什么c++啊,这是怎么回事????
发表于 2013-4-1 10:22 | 显示全部楼层
不能免费下载东西啊?
 楼主| 发表于 2013-4-8 15:56 | 显示全部楼层
lovesea 发表于 2013-4-1 10:22
不能免费下载东西啊?

这个不是下载的,只是教你装end工具箱的方法
 楼主| 发表于 2013-4-8 15:57 | 显示全部楼层
lragy 发表于 2013-3-31 00:49
我把emd工具箱放到路径里,就能用进行分解了,并没有装什么c++啊,这是怎么回事????

有些人用到c++
发表于 2013-4-23 16:43 | 显示全部楼层
謝謝 分享囉
 楼主| 发表于 2013-4-24 08:52 | 显示全部楼层

发表于 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++那个,编译器选的不同,会不会有什么不同影响?
 楼主| 发表于 2013-5-3 14:44 | 显示全部楼层
none2012 发表于 2013-4-29 00:53
请问,输mbuild -setup时,有3个选项,其中有个编译器是VC++6.0,但当运行mex -setup时,就只有2个选项,没 ...

你安装c++了么?
发表于 2013-5-3 16:11 | 显示全部楼层
bgpz2007 发表于 2013-5-3 14:44
你安装c++了么?

安装了C++6.0,不过也能用了,谢谢
发表于 2013-5-18 16:58 | 显示全部楼层
安装emd工具箱一定要装c++吗?不装不可以吗?我不用c++,请指教,不安装c++可以安装emd工具箱吗?这样的话该如何操作?
 楼主| 发表于 2013-5-20 09:15 | 显示全部楼层
沐雨柠檬 发表于 2013-5-18 16:58
安装emd工具箱一定要装c++吗?不装不可以吗?我不用c++,请指教,不安装c++可以安装emd工具箱吗?这样的话该 ...

有些没安装就可以用,我建议你是安装上!!!虽然你不用c++
发表于 2013-10-14 15:58 | 显示全部楼层
谢谢 很有用处
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-5-4 10:04 , Processed in 0.108435 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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