24小时热门版块排行榜    

CyRhmU.jpeg
查看: 816  |  回复: 1

骐骥驰骋

新虫 (小有名气)

[求助] Matlab与Fortran混合编程已有1人参与

我在尝试Matlab与Fortran混合编程时出现了一下问题,请高手帮忙看看怎么回事?

>> 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] Compaq Visual Fortran 6.6 in c:\program files\microsoft visual studio
[2] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2007a\sys\lcc
[3] Microsoft Visual C++ 6.0 in C:\Program Files\Microsoft Visual Studio

[0] None

Compiler: 1

Please verify your choices:

Compiler: Compaq Visual Fortran 6.6
Location: c:\program files\microsoft visual studio

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

***************************************************************************
  Warning: The Compaq Visual Fortran 6.6 compiler is being phased out and  
           will not be supported in a future release.  
           For a list of currently supported compilers see:  
           http://www.mathworks.com/support/tech-notes/1600/1601.html
***************************************************************************

Trying to update options file: C:\Documents and Settings\Administrator\Application Data\MathWorks\MATLAB\R2007a\mexopts.bat
From template:              C:\PROGRA~1\MATLAB\R2007a\bin\win32\mexopts\cvf66opts.bat

Done . . .

>> mex test.f90

  C:\PROGRA~1\MATLAB\R2007A\BIN\MEX.PL: Error: 'test.f90' not found.

??? Error using ==> mex at 206
Unable to complete successfully.
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

alorsmail

铁杆木虫 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
显示错误是 matlab 找不到  test.f90
需要放到当前目录下
2楼2014-05-16 14:44:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 骐骥驰骋 的主题更新
信息提示
请填处理意见