Help with linking with mex
Afficher commentaires plus anciens
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 commentaire
Titus Edelhofer
le 31 Oct 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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Fortran with MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!