声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1199|回复: 0

[混合编程] matlab与fortran混合编程 有问题

[复制链接]
发表于 2011-1-6 12:37 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
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文件
回复
分享到:

使用道具 举报

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-5 22:02 , Processed in 0.061076 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表