matlab与fortran混合编程 有问题
This is mex, Copyright 1984-2005 The MathWorks, Inc.-> Default options filename found in C:\Documents and Settings\Hust\Application Data\MathWorks\MATLAB\R14SP3
----------------------------------------------------------------
-> Options file = C:\Documents and Settings\Hust\Application Data\MathWorks\MATLAB\R14SP3\mexopts.bat
MATLAB = D:\Program Files\MATLAB71
-> COMPILER = fl32
-> Compiler flags:
COMPFLAGS = /fpp:"/m /SD:\Program Files\MATLAB71/extern/include" -c -G5 -nologo -DMATLAB_MEX_FILE
OPTIMFLAGS = /MD -Ox -DNDEBUG
DEBUGFLAGS = /MDd -Zi
arguments =
Name switch = /Fo
-> Pre-linking commands =
-> LINKER = link
-> Link directives:
LINKFLAGS = /DLL /EXPORT:_MEXFUNCTION@16 /LIBPATH:"D:\Program Files\MATLAB71\extern\lib\win32\digital\df60" libmx.lib libmex.lib libmat.lib /implib:_lib3789.lib /NOLOGO
LINKDEBUGFLAGS = /debug
LINKFLAGSPOST =
Name directive = "/out:fengdemo.mexw32"
File link directive =
Lib. link directive =
Rsp file indicator= @
-> Resource Compiler = rc /fo "mexversion.res"
-> Resource Linker =
----------------------------------------------------------------
--> "fl32/fpp:"/m /SD:\Program Files\MATLAB71/extern/include" -c -G5 -nologo -DMATLAB_MEX_FILE /FoC:\DOCUME~1\Hust\LOCALS~1\Temp\fengdemo.obj /MD -Ox -DNDEBUG fengdemo.f"
D:\PROGRAM FILES\MATLAB71\BIN\MEX.PL: Error: Compile of 'fengdemo.f' failed.
这个错误如何修改?
我想调用 fengdemo.f文件
页:
[1]