matlab 中fortran编译器设置细节?
我在安装编译器的时候出现如下问题>> mex -setup
Please choose your compiler for building external interface (MEX) files:
Would you like mex to locate installed compilers /n? y
Select a compiler:
Digital Visual Fortran version 5.0 in c:\program files\devstudio
Lcc C version 2.4.1 in D:\MATLAB\sys\lcc
Microsoft Visual C/C++ version 5.0 in C:\Program Files\DevStudio
None
Compiler: 1
Please verify your choices:
Compiler: Digital Visual Fortran 5.0
Location: c:\program files\devstudio
Are these correct?(/n): y
Try to update options file: C:\Documents and Settings\耿文杰\Application Data\MathWorks\MATLAB\R14SP3\mexopts.bat
From template: D:\MATLAB\BIN\win32\mexopts\df50opts.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
***************************************************************************
不知道怎么解决?有没有遇到同类问题安装不成功的 求解答 。 安装成功了,那个提示信息是一个警告,警告的内容说得很清楚了,好好看看英文就行了。 本帖最后由 messenger 于 2011-6-1 10:11 编辑
谢谢 可是我直接引用matlab 的例子的时候就是不成功啊 出现什么不能编译连接的问题
>> mex mexlockf.f
D:\MATLAB\BIN\MEX.PL: Error: Compile of 'mexlockf.f' failed.
??? Error using ==> mex
Unable to complete successfully 这与Fortran编译器没关系,可能是你混合编程方面的错误,出现mex错误信息说明Fortran编译器已经装上了,否则不会出这个信息。
谢谢 可是我直接引用matlab 的例子的时候就是不成功啊 出现什么不能编译连接的问题
>> mex mexlockf.f
D:\MATLAB\BIN\MEX.PL: Error: Compile of 'mexlockf.f' failed.
??? Error using ==> mex
Un ...
地主2005 发表于 2011-5-31 19:58 http://forum.simwe.com/images/common/back.gif 谢谢!!!!!!!!!!!
页:
[1]