Help with linking with mex
Mostrar comentarios más antiguos
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 comentario
Titus Edelhofer
el 31 de Oct. de 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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Fortran with MATLAB en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!