Help with linking with mex
Mostra commenti meno recenti
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 Commento
Titus Edelhofer
il 31 Ott 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
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Fortran with MATLAB in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!