matlab2013和2014,64位机器MATLAB2013b和MATLAB2014a没有LCC编译器,怎么安装它呢?

问题回顾:首先在MATLAB下调用c编译器,mex -setup以及mbuil -setup都不行的情形下有两个解决方案:

问题解决途径:按照方案2执行如下:

1.在微软官网,下载 Microsoft Windows SDK7.1(或者在微软官网下载,matlab提示该编译器支持所有win7以上64位版本MATLAB coder)。

2.下载后文件为:winsdk_web.exe,以管理员身份运行,下一步.............(不做其他修改即可),等待安装完成(半小时左右,看配置与网速情况)。

3.将MATLAB2013a软件推出,重新打开。

4.输入:mex -setup——>n——>17——>y——>y,即可完成SDK7.1的C编译器关联,显示如下:

Trying to update options file: C:\Users\YCHG\AppData\Roaming\MathWorks\MATLAB\R2013a\mexopts.bat

From template:              D:\worksoft\matlab\bin\win64\mexopts\mssdk71opts.bat

Done . . .

**************************************************************************

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/ma ... use-64-bit-api.html

Building with the -largeArrayDims option enables the new API.

**************************************************************************

5.输入:mex -setup——>y——>选择7.1版C编译器即可。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值