matlab 编译器设置
来源:互联网 发布:程序员转行能做什么 编辑:程序博客网 时间:2024/05/17 06:41
首先在matlab中输入:
mbuild-setup
然后会显示几个存在的编译器(如vc)
但是选择其中一个后,会有问题,如下:
Usage:
MBUILD [option1 ... optionN] sourcefile1 [... sourcefileN]
[objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]
[exportfile1 ... exportfileN]
Use the -help option for more information, or consult the MATLAB Compiler
User's Guide.
C:\PROGRA~1\MATLAB\R2012A\BIN\MEX.PL: Error: No file names given.
Undefined function or variable 'setup'.
这是因为mbuild 和-setup中间应该加个空格:
所以正确的输入为:
>> mbuild -setupWelcome to mbuild -setup. This utility will help you set up
a default compiler. For a list of supported compilers, see
http://www.mathworks.com/support/compilers/R2012a/win32.html
Please choose your compiler for building shared libraries or COM components:
Would you like mbuild to locate installed compilers [y]/n? y
Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2012a\sys\lcc
[2] Microsoft Visual C++ 2010 in C:\Program Files\Microsoft Visual Studio 10.0
[0] None
Compiler: 2
Please verify your choices:
Compiler: Microsoft Visual C++ 2010
Location: C:\Program Files\Microsoft Visual Studio 10.0
Are these correct [y]/n? y
****************************************************************************
Warning: Applications/components generated using Microsoft Visual C++
2010 require that the Microsoft Visual Studio 2010 run-time
libraries be available on the computer used for deployment.
To redistribute your applications/components, be sure that the
deployment machine has these run-time libraries.
****************************************************************************
Trying to update options file: C:\Users\dong\AppData\Roaming\MathWorks\MATLAB\R2012a\compopts.bat
From template: C:\PROGRA~1\MATLAB\R2012a\bin\win32\mbuildopts\msvc100compp.bat
Done . . .
>>
低版本的matlab可以输入 :
comtool
但是高版本中comtool被deploytool所替代,所以输入
>> comtool
Undefined function or variable 'comtool'.
所以应该输入:
deploytool
com编译器就会出现了~~
也可以在菜单中打开编译器的:
file 》new 》deployment project
- matlab 编译器设置
- 设置 Matlab mex 编译器
- Matlab 2010a设置VS2010为编译器
- Matlab混合编程中编译器设置问题
- 设置 Matlab 的 C/C++ 编译器
- matlab编译器
- matlab编译器的局限性
- matlab配置编译器
- Matlab中的mcc编译器
- MATLAB链接MinGW编译器
- matlab中安装编译器
- MATLAB链接MinGW编译器
- MATLAB的编译器问题
- Matlab选择mingw编译器
- Matlab安装MinGW64编译器
- Matlab mex编译选项文件的位置与编译器器设置
- matlab编译器和程序发布
- matlab 支持的编译器版本
- 用1,2,3,4,5组成不重复5位数,4不能在第三位,3与5不能相连(最简单的办法)
- shell
- 厦大包打听之今生来世
- 在内存中的显示缓存区中显示移动的汉字”中“字
- java中常用的一些方法
- matlab 编译器设置
- linux操作系统安装输入法
- SQL左外连接、右外连接、全连接、内连接整合
- 堡垒机:重新定位运维安全审计
- 春醉
- 2012年12月20日 工作总结
- android中dip和像素之间的关系
- 编译openmeeting (搭建openmeetings环境)
- Hbase和solr在海量数据查询中的应用