matlab 连接 c
来源:互联网 发布:怎么注册一个淘宝店铺 编辑:程序博客网 时间:2024/05/05 01:50
写第三篇论文了。。。摔
找了好久的代码,其中一个在.m中诡异的有一个.c,看readme才知道,这是mex
就是将matlab与vc/vs连接,在matlab中使用c代码
连接的方式是:
在交互页面输入: mex -setup
>> mex -setupPlease choose your compiler for building external interface (MEX) files: Would you like mex to locate installed compilers [y]/n? n
这里选n ,连接要求,matlab与VC版本要相对应,这里用的是低级的 VC6.0与matlab7.0
Select a compiler: [1] Borland C++Builder version 6.0 [2] Borland C++Builder version 5.0 [3] Borland C++Builder version 4.0 [4] Borland C++Builder version 3.0 [5] Borland C/C++ version 5.02 [6] Borland C/C++ version 5.0 [7] Borland C/C++ (free command line tools) version 5.5 [8] Compaq Visual Fortran version 6.1 [9] Compaq Visual Fortran version 6.6 [10] Digital Visual Fortran version 6.0 [11] Digital Visual Fortran version 5.0 [12] Lcc C version 2.4 [13] Microsoft Visual C/C++ version 7.0 [14] Microsoft Visual C/C++ version 7.1 [15] Microsoft Visual C/C++ version 6.0 [16] Microsoft Visual C/C++ version 5.0 [17] WATCOM C/C++ version 11 [18] WATCOM C/C++ version 10.6 [0] None Compiler: 15 The default location for Microsoft Visual C/C++ compilers is C:\Program Files\Microsoft Visual Studio, but that directory does not exist on this machine. Use C:\Program Files\Microsoft Visual Studio anyway [y]/n? n
这里还是选N ,要将路径改至与VC路径相同。
Please enter the location of your compiler: [C:\Program Files\Microsoft Visual Studio] D:\school\VC 6.0\Microsoft Visual Studio Please verify your choices: Compiler: Microsoft Visual C/C++ 6.0 Location: D:\school\VC 6.0\Microsoft Visual Studio Are these correct?([y]/n): y Try to update options file: C:\Users\sony\Application Data\MathWorks\MATLAB\R14\mexopts.bat From template: D:\SCHOOL\MATLAB\BIN\WIN32\mexopts\msvc60opts.bat Done . . .
0 0
- matlab 连接 c
- matlab用mex与C连接
- 如何让matlab用mex与C连接使用
- MATLAB 连接数据库
- matlab字符串连接
- matlab 字符串链连接
- matlab 连接 mysql 数据库
- matlab与excel连接
- MATLAB连接SQL server
- Java动态连接Matlab
- matlab连接sqlite方法
- MATLAB - SQL 连接技术
- Matlab连接数据库mysql
- matlab连接MySQL
- matlab连接sql数据库
- matlab 连接 mysql 数据库
- matlab连接字符串
- matlab连接MySQL
- Eclipse背景颜色修改
- mac上搭建hadoop2.3.0云平台
- 2014-04-03某小公司笔试题目
- UVA 11729 - Commando War(贪心)
- Label自适应
- matlab 连接 c
- MFC之HTTP POST请求 (VS2013环境 多字符编码)
- Tomcat与servlet安装配置——个人试验版
- 关于ActionScript3.0的MovieClipe的停止
- 一些自己没想到的技巧
- 并发(Concurrent)与并行(Parallel)
- 动态规划(读书笔记)
- ios坐标变换
- android:layout_weight详解 (总结版)