Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 工程数学软件 > MATLAB论坛
MATLAB论坛 一切MATLAB相关问题在此讨论。
 
 
主题工具 显示模式
旧 2009-03-25, 22:35   #1
草木人
初级会员
 
注册日期: 2008-12-09
年龄: 41
帖子: 7
声望力: 0
草木人 正向着好的方向发展
默认 MATLAB里编译C时MEX的问题

我是初学者,问的比较初级,现在要在MATLAB里面调用C程序,之前要编译,于是就这样了,不知道哪里出错了,请大家帮帮忙看一下,十分感谢啊
>> 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] Digital Visual Fortran version 6.0 in C:\Program Files\Microsoft Visual Studio
[2] Lcc C version 2.4.1 in C:\PROGRAM FILES\MATLAB71\sys\lcc
[3] Microsoft Visual C/C++ version 6.0 in C:\Program Files\Microsoft Visual Studio

[0] None

Compiler: 2

Please verify your choices:

Compiler: Lcc C 2.4.1
Location: C:\PROGRAM FILES\MATLAB71\sys\lcc

Are these correct?([y]/n): y

Try to update options file: C:\Documents and Settings\wangwei\Application Data\MathWorks\MATLAB\R14SP3\mexopts.bat
From template: C:\PROGRAM FILES\MATLAB71\BIN\win32\mexopts\lccopts.bat

Done . . .

***************************************************************************
Warning: The file extension of 32-bit Windows MEX-files was changed
from ".dll" to ".mexw32" in MATLAB 7.1 (R14SP3). The generated
MEX-file will not be found by MATLAB versions prior to 7.1.
Use the -output option with the ".dll" file extension to
generate a MEX-file that can be called in previous versions.
For more information see:
MATLAB 7.1 Release Notes, New File Extension for MEX-Files on Windows
***************************************************************************
草木人 当前离线   回复时引用此帖
 


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码


相似的主题
主题 主题作者 版面 回复 最后发表
[MATLAB图像处理] 求助:高斯加噪问题 ljlj521521521 MATLAB论坛 0 2009-05-25 08:25
【求助】用Matlab的simulink仿真码分多址CDMA通信系统 teleofree MATLAB论坛 4 2009-04-14 10:00
[求助]视频中目标运动轨迹数据的提取 include1224 MATLAB论坛 0 2009-01-03 15:40
那位同学知道matlab的遗传规划工具箱到哪里下载? toptree MATLAB论坛 1 2008-11-15 09:51


所有时间均为北京时间。现在的时间是 00:11


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.