A problem in linking Matlab with Visual fortran

Hello!
I'm trying to link Matlab2011b with Intel Visual Fortran 12.0 (with Microsoft Visual C++ 2010 linker), and there is a problem in compiling the .f file in Matlab environment, see the Picture.
The Chinease words means: 'link' is neither an inner/out command, nor an executable program, nor a batch file.
Hoping for your help,thanks!

2 件のコメント

Geoff Hayes
Geoff Hayes 2014 年 11 月 13 日
Ren - try specifying the first input with its full path as a string
>> mex -f 'D:\...\intelf12msvs2010opts.bat' calculateplus.f
The documentation at mex states that for the option -f,
Specifies name and location of the mex configuration file. Overrides the default compiler selection. For information about using a non-default compiler, see Changing Default Compiler. filepath is the name and full path of the configuration file, specified as a string.
Ren Zetian
Ren Zetian 2014 年 11 月 14 日
Thanks! I fixed it by finally installing Matlab2014a.

サインインしてコメントする。

 採用された回答

Ren Zetian
Ren Zetian 2014 年 12 月 8 日

0 投票

Thanks! I fixed it by finally installing Matlab2014a.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeFortran with MATLAB についてさらに検索

タグ

質問済み:

2014 年 11 月 13 日

回答済み:

2014 年 12 月 8 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by