在Matlab中编译c/c++代码需要安装mex
2024-10-15 07:08:12
>> 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 Select a compiler:
[1] Microsoft Visual C++ 2010 in C:\Program Files (x86)\Microsoft Visual Studio 10.0 [0] None Compiler: [1]
Please select from 0-1
Compiler: 1 Please verify your choices: Compiler: Microsoft Visual C++ 2010
Location: C:\Program Files (x86)\Microsoft Visual Studio 10.0 Are these correct [y]/n? y ***************************************************************************
Warning: MEX-files generated using Microsoft Visual C++ 2010 require
that Microsoft Visual Studio 2010 run-time libraries be
available on the computer they are run on.
If you plan to redistribute your MEX-files to other MATLAB
users, be sure that they have the run-time libraries.
*************************************************************************** Trying to update options file: C:\Users\yangfan\AppData\Roaming\MathWorks\MATLAB\R2012b\mexopts.bat
From template: D:\Program Files\MATLAB\MATLAB Production Server\R2012b\bin\win64\mexopts\msvc100opts.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/techdoc/matlab_external/bsflnue-1.html
Building with the -largeArrayDims option enables the new API.
**************************************************************************
解决问题:
Error: ARCH: Unsupported platform.
参考文献:
http://blog.csdn.net/daiyuchao/article/details/5362140
最新文章
- BestCoder Round #60 1002
- [转] java书籍(给Java程序猿们推荐一些值得一看的好书 + 7本免费的Java电子书和教程 )
- placeholder兼容方法(兼容IE8以上浏览器)
- ajax向前台输出二维数组 并解析
- poj 1962 Corporative Network
- 抽象工厂模式(Java与Kotlin版)
- Flex中的DataGrid报错(一)
- Windows 2012安装odoo12
- latex数学公式
- C语言之概述
- Day08 (黑客成长日记) 命名空间和作用域
- php之print_r
- 尾递归与Continuation(转载)
- English trip EM2-LP-3A Gifts Teacher:Patrick
- 监控文件事件inotify
- mRNA基本概念
- Vue学习笔记之Babel介绍
- Linux TCP server 只能接受一个 TCP 连接
- CsvHelper文档-3写
- ubuntu下搭建Discuz