声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

楼主: bgpz2007

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

  [复制链接]
 楼主| 发表于 2013-10-17 10:44 | 显示全部楼层
回复 支持 反对
分享到:

使用道具 举报

发表于 2014-6-6 09:03 | 显示全部楼层

以下是我的mex -setup过程,请问该怎么解决?
Welcome to mex -setup.  This utility will help you set up  
a default compiler.  For a list of supported compilers, see  
http://www.mathworks.com/support/compilers/R2013b/win64.html

Please choose your compiler for building MEX-files:

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

Select a compiler:
[1] Intel C++ 13.0 (with Microsoft Software Development Kit (SDK) linker)
[2] Intel C++ 13.0 (with Microsoft Visual C++ 2010 linker)
[3] Intel C++ 13.0 (with Microsoft Visual C++ 2012 linker)
[4] Intel C++ 12.0 (with Microsoft Software Development Kit (SDK) linker)
[5] Intel C++ 12.0 (with Microsoft Visual C++ 2008 SP1 linker)
[6] Intel C++ 12.0 (with Microsoft Visual C++ 2010 linker)
[7] Intel Visual Fortran 13 (with Microsoft Software Development Kit (SDK) linker)
[8] Intel Visual Fortran 13.0 (with Microsoft Visual C++ 2010 linker)
[9] Intel Visual Fortran 13.0 (with Microsoft Visual C++ 2012 linker)
[10] Intel Visual Fortran 12 (with Microsoft Software Development Kit (SDK) linker)
[11] Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2008 SP1 linker)
[12] Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2008 Shell linker)
[13] Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2010 linker)
[14] Microsoft Software Development Kit (SDK) 7.1
[15] Microsoft Visual C++ 2005 SP1
[16] Microsoft Visual C++ 2008 SP1
[17] Microsoft Visual C++ 2010
[18] Microsoft Visual C++ 2012

[0] None

Compiler: 18

Warning: The default location for Microsoft Visual C++ 2012 compiler is:
         "C:\Program Files (x86)\Microsoft Visual Studio 11.0"
         but either that directory does not exist or the configuration
         is invalid.

Use C:\Program Files (x86)\Microsoft Visual Studio 11.0 anyway [y]/n? n
Please enter the location of your compiler: [C:\Program Files (x86)\Microsoft Visual Studio 11.0] [C:\Program Files (x86)\Microsoft Visual Studio 8]

Please verify your choices:

Compiler: Microsoft Visual C++ 2012  
Location: [C:\Program Files (x86)\Microsoft Visual Studio 8]

Are these correct [y]/n? y

*****************************************************************************
  Error: Microsoft Visual C++ 2012 requires the Microsoft Windows Software  
         Development Kit (SDK), but the SDK cannot be found.  Examine your   
         Microsoft Visual C++ 2012 installation.
*****************************************************************************

Warning: Function fft has the same name as a MATLAB builtin. We suggest you rename the
function to avoid a potential name conflict.
> In mex_helper>runCmdInShell at 86
  In mex_helper at 53
  In mex_legacy at 7
Unable to complete successfully.
发表于 2014-6-6 09:38 | 显示全部楼层
hht123 发表于 2014-6-6 09:03
以下是我的mex -setup过程,请问该怎么解决?
Welcome to mex -setup.  This utility will help you set ...

http://www.mathworks.cn/matlabce ... but-cannot-find-sdk

评分

1

查看全部评分

发表于 2014-6-6 10:11 | 显示全部楼层
chybeyond 发表于 2014-6-6 09:38
http://www.mathworks.cn/matlabcentral/answers/16425-mex-setup-compiler-listed-but-cannot-find-sdk

有一个问题我不太懂,
[15] Microsoft Visual C++ 2005 SP1
[16] Microsoft Visual C++ 2008 SP1
[17] Microsoft Visual C++ 2010
[18] Microsoft Visual C++ 2012
这些我都没有装过,但是存在这两个文件夹:
[C:\Program Files (x86)\Microsoft Visual Studio 8]
[C:\Program Files \Microsoft Visual Studio 8]
要不要自己安装呢?
你发给我的那个链接里说:要安装MS visual c++ 2010 express和SDK 7.1
发表于 2014-6-6 10:27 | 显示全部楼层
这是matlab提示我2013b支持的编译器网址:
http://www.mathworks.cn/support/compilers/R2013b/index.html?sec=win64


matlab支持的编译器

matlab支持的编译器
发表于 2014-6-6 10:30 | 显示全部楼层
chybeyond 发表于 2014-6-6 09:38
http://www.mathworks.cn/matlabcentral/answers/16425-mex-setup-compiler-listed-but-cannot-find-sdk


安装这个可以吗?
QQ截图20140606103029.png
发表于 2014-6-6 10:35 | 显示全部楼层
这是32位的,可以用吗?

安装截图

安装截图
发表于 2014-6-6 10:51 | 显示全部楼层
http://www.visualstudio.com/downloads/download-visual-studio-vs#d-express-windows-phone

里面没有Microsoft Visual C++  2012,有Microsoft Visual C++  2010也是32位的,我的是64位的,有Microsoft Visual C++  2013我装上了但是版本比matlab高,不能用
哪位大神给一个Microsoft Visual C++  2010/2012的下载地址?
发表于 2014-6-6 11:13 | 显示全部楼层
hht123 发表于 2014-6-6 10:35
这是32位的,可以用吗?

如果仅仅是编译文件,用matlab自带的编译器也可以,mex -setup后选择y,然后选择LCC编译器(matlab自带),之后运行install_emd。如果出现错误找不到complex.h,解决方法将EMDS/make_emdc.m中第28行中mex(’-DC99_OK‘,args(:))语句改为mex(args(:)),保存后再运行nstall_emd。
  1. >> install_emd
  2. install_emd

  3. Compilation successfull

  4. Installation complete. Run index_emd for a list of functions.

  5. IMPORTANT: After running INSTALL_EMD you must run the "savepath" command to save the installation
  6. but be careful that if you previously removed parts of the path (using e.g. the "rmpath" command)
  7. these will be permanently removed after you run "savepath"

  8. Compilation successfull

  9. Installation complete. Run index_emd for a list of functions.

  10. IMPORTANT: After running INSTALL_EMD you must run the "savepath" command to save the installation
  11. but be careful that if you previously removed parts of the path (using e.g. the "rmpath" command)
  12. these will be permanently removed after you run "savepath"
复制代码

评分

1

查看全部评分

发表于 2014-6-6 11:43 | 显示全部楼层
chybeyond 发表于 2014-6-6 11:13
如果仅仅是编译文件,用matlab自带的编译器也可以,mex -setup后选择y,然后选择LCC编译器(matlab自带) ...

>> mex -setup

Welcome to mex -setup.  This utility will help you set up  
a default compiler.  For a list of supported compilers, see  
http://www.mathworks.com/support/compilers/R2013b/win64.html

Please choose your compiler for building MEX-files:

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

No supported SDK or compiler was found on this computer.
For a list of supported compilers, see  
http://www.mathworks.com/support/compilers/R2013b/win64.html  

Unable to complete successfully.
发表于 2014-6-6 11:55 | 显示全部楼层
hht123 发表于 2014-6-6 11:43
>> mex -setup

Welcome to mex -setup.  This utility will help you set up  

那就自己下载一个编译器http://www.mathworks.com/matlabc ... oft-windows-sdk-7-1
发表于 2014-6-7 15:03 | 显示全部楼层
终于解决了,只需要下载visual c++2010安装就可以了,以前没弄好是因为没装好,不需要装sdk

评分

2

查看全部评分

发表于 2014-6-9 21:34 | 显示全部楼层
小弟刚接触EMD,装安装包的时候出现了这种情况,求大神指点
>> 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:

[0] None

Compiler:
发表于 2014-6-9 21:35 | 显示全部楼层
hht123 发表于 2014-6-7 15:03
终于解决了,只需要下载visual c++2010安装就可以了,以前没弄好是因为没装好,不需要装sdk

同学你好,我想问下这种问题你知道该怎么解决吗?谢谢
>> 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:

[0] None

Compiler:
发表于 2014-6-9 21:38 | 显示全部楼层
chybeyond 发表于 2014-6-6 11:55
那就自己下载一个编译器http://www.mathworks.com/matlabcentral/answers/101105-how-do-i-install-micro ...

同学你好,我想问下这种问题你知道该怎么解决吗?谢谢
>> 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:

[0] None

Compiler:
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-12-23 20:57 , Processed in 0.062217 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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