matlab 64 mex,Matlab2015b使用MinGW64(TDM-GCC)编译mex

本文介绍如何使用TDM-GCC提供的MinGW-w64版本4.9.2编译器来构建MATLAB MEX文件及独立应用程序。通过MATLAB的Add-Ons菜单进行安装,并提醒不要将编译器安装在路径名包含空格的位置。

c6e8b7b95c5752bafe710624f706e834.png

You can use the MinGW-w64 version 4.9.2 compiler from TDM-GCC to build MEX files and standalone MATLAB? engine and MAT-file applications.

Installing Compiler from Add-Ons Menu

To install the MinGW compiler, open the installer from MATLAB Add-Ons menu. On the Home tab, in the Environment section, click the Add-Ons icon. Under Refine by Type, select Features, or search for MinGW. Follow the prompts to add the compiler.

Note:To install the MATLAB-supported version of MinGW-w64, you must clear the check box highlighted in the following figure.

488db7e6f4df4f69a16093f0a48cc23b.png

MinGW Installation Folder Cannot Contain Space

Do not install MinGW in a location with spaces in the path name. For example, do not use:

C:\Program Files\TDM-GCC-64

Instead, use:

C:\TDM-GCC-64

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值