matlab 配置mex 识别vs2015

问题:先安装了matlab,后装了vs13和vs15,但是mex -setup时却不能识别vs15,采用了两种办法,最终得以识别。


解决方案:先采用方法: http://blog.youkuaiyun.com/yc461515457/article/details/51635842 ,但是没解决问题,
后面采用了 http://blog.youkuaiyun.com/hzd12368/article/details/70526955 ,解决了 问题,在mex -setup中出现了vs2015的选项,
>> mex -setup
MEX 配置为使用 'Microsoft Visual C++ 2015 Professional (C)' 以进行 C 语言编译。
Warning: The MATLAB C and Fortran API has changed to support MATLAB
	 variables with more than 2^32-1 elements. In the near future
	 you will be required to update your code to utilize the
	 new API. You can find more information about this at:
	 http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.




要选择不同的 C 编译器,请从以下选项中选择一种命令:
Micr
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值