win7 64位安装matlabR2011b

在安装matlabR2011b过程中遇到编译器设置问题,通过安装Windows SDK 7.1和VS2008,特别注意需勾选x64编译器工具。安装64位matlab时,可能需要先安装VC++ runtime库,如vcredist_x64.exe,并根据错误提示选择适当版本。完成安装后,重启MATLAB并运行mex -setup,成功设置C++编译器。
摘要由CSDN通过智能技术生成

需要在matlab中使用c++编译器,直接安装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/R2011b/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/R2011b/win64.html  
 
Error using mex (line 206)
Unable to complete successfully.

折腾许久才装好,现将过程记录如下(以R2011b为例子࿰

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值