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
***************************************************************************
|