Help with linking with mex
Ältere Kommentare anzeigen
Hello,
I have windows 7 64bit with VS2010 installed with Intel visual fortran 12.0 and matlab 2011b. I ran the mex -setup and configured matlab to work with my fortran version. However, when I try to compile any of the included examples (e.g. timestwo.F) I receive:
mex timestwo.F
'link' is not recognized as an internal or external command, operable program or batch file.
C:\PROGRA~1\MATLAB\R2011B\BIN\MEX.PL: Error: Link of 'timestwo.mexw64' failed.
Any idea what's wrong and how to fix it?
Elad
1 Kommentar
Titus Edelhofer
am 31 Okt. 2011
Hi Elad,
as far as I remember, the Intel compiler uses the visual studio linker. Perhaps posting the output of "mex -v timestwo.F" would help to find out the problem.
Titus
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Fortran with MATLAB finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!