bgpz2007
发表于 2013-10-17 10:44
小辛小铭 发表于 2013-10-14 15:58 static/image/common/back.gif
谢谢 很有用处
互相学习
hht123
发表于 2014-6-6 09:03
bgpz2007 发表于 2013-10-17 10:44
互相学习
以下是我的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 /n? n
Select a compiler:
Intel C++ 13.0 (with Microsoft Software Development Kit (SDK) linker)
Intel C++ 13.0 (with Microsoft Visual C++ 2010 linker)
Intel C++ 13.0 (with Microsoft Visual C++ 2012 linker)
Intel C++ 12.0 (with Microsoft Software Development Kit (SDK) linker)
Intel C++ 12.0 (with Microsoft Visual C++ 2008 SP1 linker)
Intel C++ 12.0 (with Microsoft Visual C++ 2010 linker)
Intel Visual Fortran 13 (with Microsoft Software Development Kit (SDK) linker)
Intel Visual Fortran 13.0 (with Microsoft Visual C++ 2010 linker)
Intel Visual Fortran 13.0 (with Microsoft Visual C++ 2012 linker)
Intel Visual Fortran 12 (with Microsoft Software Development Kit (SDK) linker)
Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2008 SP1 linker)
Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2008 Shell linker)
Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2010 linker)
Microsoft Software Development Kit (SDK) 7.1
Microsoft Visual C++ 2005 SP1
Microsoft Visual C++ 2008 SP1
Microsoft Visual C++ 2010
Microsoft Visual C++ 2012
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 /n? n
Please enter the location of your compiler:
Please verify your choices:
Compiler: Microsoft Visual C++ 2012
Location:
Are these correct /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.
chybeyond
发表于 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/matlabcentral/answers/16425-mex-setup-compiler-listed-but-cannot-find-sdk
hht123
发表于 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
有一个问题我不太懂,
Microsoft Visual C++ 2005 SP1
Microsoft Visual C++ 2008 SP1
Microsoft Visual C++ 2010
Microsoft Visual C++ 2012
这些我都没有装过,但是存在这两个文件夹:
要不要自己安装呢?
你发给我的那个链接里说:要安装MS visual c++ 2010 express和SDK 7.1
hht123
发表于 2014-6-6 10:27
这是matlab提示我2013b支持的编译器网址:
http://www.mathworks.cn/support/compilers/R2013b/index.html?sec=win64
hht123
发表于 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
安装这个可以吗?
hht123
发表于 2014-6-6 10:35
这是32位的,可以用吗?
hht123
发表于 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的下载地址?
chybeyond
发表于 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。
>> install_emd
install_emd
Compilation successfull
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"
Compilation successfull
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"
hht123
发表于 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 /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.
chybeyond
发表于 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/matlabcentral/answers/101105-how-do-i-install-microsoft-windows-sdk-7-1
hht123
发表于 2014-6-7 15:03
终于解决了,只需要下载visual c++2010安装就可以了,以前没弄好是因为没装好,不需要装sdk
圣经里的菜刀
发表于 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 /n? y
Select a compiler:
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 /n? y
Select a compiler:
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 /n? y
Select a compiler:
None
Compiler: