注册 登录
编程论坛 新人交流区

C++与MATLAB的混合编程问题

lin20704034 发布于 2007-10-31 17:20, 605 次点击

我刚学C++与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] Digital Visual Fortran version 6.0 in C:\Program Files\Microsoft Visual Studio
[2] Lcc C version 2.4.1 in D:\PROGRAME FILES\MATLAB\sys\lcc
[3] Microsoft Visual C/C++ version 6.0 in C:\Program Files\Microsoft Visual Studio

[0] None

Compiler: 3

Please verify your choices:

Compiler: Microsoft Visual C/C++ 6.0
Location: C:\Program Files\Microsoft Visual Studio

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

Try to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R14SP3\mexopts.bat
From template: D:\PROGRAME FILES\MATLAB\BIN\win32\mexopts\msvc60opts.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

1 回复
#2
lin207040342007-10-31 20:34
回复:(lin20704034)C++与MATLAB的混合编程...
怎么没有回复啊?
高手有吗?
1