MATLAB R2012b 不知道为啥,装不上compiler,用不了deploy。
于是按照说明,在 http://www.mathworks.com/support/compilers/R2012b/win64.html 下了 Microsoft Software Development Kit (SDK)来编译。
用mex -setup选择了用SDK来编译。
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/R2012b/win64.html
Please choose your compiler for building MEX-files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Microsoft Software Development Kit (SDK) 7.1 in C:\Program Files (x86)\Microsoft Visual Studio 10.0
[0] None
Compiler: 1
Please verify your choices:
Compiler: Microsoft Software Development Kit (SDK) 7.1
Location: C:\Program Files (x86)\Microsoft Visual Studio 10.0
Are these correct [y]/n? y
***************************************************************************
Warning: MEX-files generated using Microsoft Windows Software Development
Kit (SDK) require that Microsoft Visual Studio 2010 run-time
libraries be available on the computer they are run on.
If you plan to redistribute your MEX-files to other MATLAB
users, be sure that they have the run-time libraries.
***************************************************************************
Trying to update options file: C:\Users\VIP\AppData\Roaming\MathWorks\MATLAB\R2012b\mexopts.bat
From template: C:\matlab\R2012b\bin\win64\mexopts\mssdk71opts.bat
Done . . .
之后用什么命令来操作呢? mbuild -setup 会出错,mcc,deploytool都会出错。
有大神用过吗?
或者有没有64位的compiler工具箱,介绍在哪下吧,谢谢各位了