matlab mwregsvr,Matlab讨论区 - 声振论坛 - 振动,动力学,声学,信号处理,故障诊断 - Powered by Discuz!...

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

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

e19ed853d3484852efacc2c786c38037.gif

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"

>>

评分

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值