解决Win8.1+Matlab2012b运行mex -setup出现perl command line interpreter has stopped working

解决方法:

perl command line interpreter has stopped working

C:\Program Files\MATLAB\R2012b\sys\perl路径下的release文件指出,active版本只能支持到win7.

于是下载最新版本的activeperl。安装在任意目录下。

在安装目录中,找到其中和C:\Program Files\MATLAB\R2012b\sys\perl\win32目录中bin,etc,lib,site中对应的文件,

复制粘贴,选择全部替换,运行mex -setup不会再出现。perl 的问题了。

>> 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
 
No supported SDK or compiler was found on this computer. 
For a list of supported compilers, see  
http://www.mathworks.com/support/compilers/R2012b/win64.html  

  但是出现了这个问题。解决方法见链接。http://www.mathworks.com/matlabcentral/answers/56127-how-to-setup-mex-in-win-8