mex at 222 Unable to complete successfully.
来源:互联网 发布:ppt图表如何显示数据 编辑:程序博客网 时间:2024/05/01 07:49
问题描述:D:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: No compiler options file could be found to compile source code. Please run "mex -setup" to rectify.
??? Error using ==> mex at 222 Unable to complete successfully.
在matlab命令行
>> mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in D:\PROGRA~1\MATLAB\R2010a\sys\lcc
[2] Microsoft Visual C++ 2008 SP1 in D:\Program Files\Microsoft Visual Studio 9.0
[3] Microsoft Visual C++ 6.0 in D:\Program Files\Microsoft Visual Studio
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 2008 SP1
Location: D:\Program Files\Microsoft Visual Studio 9.0
Are these correct [y]/n? y
***************************************************************************
Warning: MEX-files generated using Microsoft Visual C++ 2008 require
that Microsoft Visual Studio 2008 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.
***************************************************************************
??? Error using ==> mex at 222 Unable to complete successfully.
在matlab命令行
问题分析:要混编代码,没有安装混编译器
解决方案:用 mex -setup安装之,因为你自己有C++的编译器,我是选择VS2008的,不行的话,自己每个都试试,就OK了,如下:
>> mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in D:\PROGRA~1\MATLAB\R2010a\sys\lcc
[2] Microsoft Visual C++ 2008 SP1 in D:\Program Files\Microsoft Visual Studio 9.0
[3] Microsoft Visual C++ 6.0 in D:\Program Files\Microsoft Visual Studio
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 2008 SP1
Location: D:\Program Files\Microsoft Visual Studio 9.0
Are these correct [y]/n? y
***************************************************************************
Warning: MEX-files generated using Microsoft Visual C++ 2008 require
that Microsoft Visual Studio 2008 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.
***************************************************************************
- mex at 222 Unable to complete successfully.
- MATLAB2016b vs2017 mbuild -setup 未找到支持的编译器或 SDK Unable to complete successfully.
- Tomcat : unable to ping server at localhost1099
- Unable to fence NameNode at 问题
- MyEclipse Tern was unable to complete your request in time
- Unable to connect to a repository at URL
- SVN Unable to connect to a repository at URL
- SVN Unable to connect to a repository at URL
- Unable to connect to a repository at URL...
- svn: E175002: Unable to connect to a repository at URL
- svn Unable to connect to a repository at URL
- Unable to connect to a repository at URL
- TortoiseSVN Unable to connect to a repository at URL XXX
- svn: Unable to connect to a repository at URL eclipse
- svn: E160043: Unable to connect to a repository at URL
- SVN Unable to connect to a repository at URL问题解决
- SVN E170001:unable to connect to a repository at url
- smartSVN unable to connect to a respository at url
- 临江铜陵河池铁岭1383829005812
- 计算机体系结构6_缓存结构
- 即墨东营衢州抚州辛集临海1383828884863
- 淮安日照沁阳侯马福鼎通辽1383828883931
- 沧州上虞白银兴宁定西丹阳1383828884873
- mex at 222 Unable to complete successfully.
- 宣威什邡阜阳天水1383829020359
- 三河四平德州韩城新密宣城1383828898633
- 清镇遵义淮安枝江高平瑞安1383828907515
- 商洛定西瑞金高安辛集聊城1383828907736
- 揭阳辛集招远龙岩肇庆东港1383828909017
- 如果我休息,我就会生锈--------给浮躁的我一个前进的方向
- 兰州吉安宜兴宜宾新民巢湖1383828914525
- 张掖潍坊韶关博乐1383829053984