Thread Subject: Which version of fortran compiler supported in Matlab 2011b

Subject: Which version of fortran compiler supported in Matlab 2011b

From: Renwen Lin

Date: 14 Oct, 2011 02:22:11

Message: 1 of 8

Which version of fortran compiler supported in Matlab 2011b.

Under windows 7, visual studio 2010.

Subject: Which version of fortran compiler supported in Matlab 2011b

From: Steven_Lord

Date: 14 Oct, 2011 13:22:01

Message: 2 of 8



"Renwen Lin" <linrenwen@gmail.com> wrote in message
news:j786ci$er2$1@newscl01ah.mathworks.com...
> Which version of fortran compiler supported in Matlab 2011b.
> Under windows 7, visual studio 2010.

http://www.mathworks.com/support/compilers/R2011b/win32.html

--
Steve Lord
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Subject: Which version of fortran compiler supported in Matlab 2011b

From: Renwen Lin

Date: 15 Oct, 2011 02:38:28

Message: 3 of 8

Thanks so much!

I have tried this:
 Under windows 7 (64bit).
 matlab 2011b (64 bit)
 visual studio Microsoft Visual Studio 2010 (64 bit)
 Intel.Visual.Fortran.Composer.XE.2011.5.221

But it does not work, When I mex the examples in the Matlab command window, after "mex -setup".


"Steven_Lord" <slord@mathworks.com> wrote in message <j79d1p$a8d$1@newscl01ah.mathworks.com>...
>
>
> "Renwen Lin" <linrenwen@gmail.com> wrote in message
> news:j786ci$er2$1@newscl01ah.mathworks.com...
> > Which version of fortran compiler supported in Matlab 2011b.
> > Under windows 7, visual studio 2010.
>
> http://www.mathworks.com/support/compilers/R2011b/win32.html
>
> --
> Steve Lord
> slord@mathworks.com
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com

Subject: Which version of fortran compiler supported in Matlab 2011b

From: Renwen Lin

Date: 16 Oct, 2011 03:35:29

Message: 4 of 8

In addition

I try:
>> mex -v timestwo.f

Then I get:
-> Default options filename found in C:\Users\alin\AppData\Roaming\MathWorks\MATLAB\R2011b
----------------------------------------------------------------
-> Options file = C:\Users\alin\AppData\Roaming\MathWorks\MATLAB\R2011b\mexopts.bat
      MATLAB = D:\Program Files\MATLAB\R2011b
-> COMPILER = ifort
-> Compiler flags:
         COMPFLAGS = /fpp /Qprec "/ID:\Program Files\MATLAB\R2011b/extern/include" -c -nologo -DMATLAB_MEX_FILE /fixed /MD /fp:source /assume:bscc
         OPTIMFLAGS = /O2 /DNDEBUG
         DEBUGFLAGS = /Z7
         arguments =
         Name switch = /Fo
-> Pre-linking commands =
-> LINKER = link
-> Link directives:
         LINKFLAGS = /dll /export:MEXFUNCTION /LIBPATH:"D:\Program Files\MATLAB\R2011b\extern\lib\win64\microsoft" libmx.lib libmex.lib libmat.lib /implib:"C:\Users\alin\AppData\Local\Temp\mex_ZLLUme\templib.x" /MAP:"timestwo.mexw64.map" /NOLOGO /manifest /INCREMENTAL:NO
         LINKDEBUGFLAGS = /debug /PDB:"timestwo.mexw64.pdb"
         LINKFLAGSPOST =
         Name directive = /out:"timestwo.mexw64"
         File link directive =
         Lib. link directive =
         Rsp file indicator = @
-> Resource Compiler = rc /fo "mexversion.res"
-> Resource Linker =
----------------------------------------------------------------
 
 
--> ifort /fpp /Qprec "/ID:\Program Files\MATLAB\R2011b/extern/include" -c -nologo -DMATLAB_MEX_FILE /fixed /MD /fp:source /assume:bscc /FoC:\Users\alin\AppData\Local\Temp\mex_ZLLUme\timestwo.obj /O2 /DNDEBUG -DMX_COMPAT_32 timestwo.f
 
    Contents of C:\Users\alin\AppData\Local\Temp\mex_ZLLUme\mex_tmp.rsp:
  C:\Users\alin\AppData\Local\Temp\mex_ZLLUme\timestwo.obj
 
--> link /out:"timestwo.mexw64" /dll /export:MEXFUNCTION /LIBPATH:"D:\Program Files\MATLAB\R2011b\extern\lib\win64\microsoft" libmx.lib libmex.lib libmat.lib /implib:"C:\Users\alin\AppData\Local\Temp\mex_ZLLUme\templib.x" /MAP:"timestwo.mexw64.map" /NOLOGO /manifest /INCREMENTAL:NO @C:\Users\alin\AppData\Local\Temp\mex_ZLLUme\mex_tmp.rsp

  D:\PROGRA~2\MATLAB\R2011B\BIN\MEX.PL: Error: Link of 'timestwo.mexw64' failed.

Help, anyone!

Subject: Which version of fortran compiler supported in Matlab 2011b

From: Renwen Lin

Date: 17 Oct, 2011 12:37:28

Message: 5 of 8

Is there anybody complile fortran mexcode under 64bit windows 7? pls help!

Subject: Which version of fortran compiler supported in Matlab 2011b

From: Renwen Lin

Date: 17 Oct, 2011 12:39:11

Message: 6 of 8

Is there anybody complile fortran mexcode under 64bit windows 7? pls help!

Subject: Which version of fortran compiler supported in Matlab 2011b

From: Renwen Lin

Date: 12 Nov, 2011 03:50:27

Message: 7 of 8

For solution see:
http://www.mathworks.com/matlabcentral/answers/19889-help-with-linking-with-mex

Subject: Which version of fortran compiler supported in Matlab 2011b

From: Renwen Lin

Date: 23 Nov, 2011 02:30:10

Message: 8 of 8

http://linrenwen.weebly.com/matlab-tools.html
http://linrenwen.weebly.com/mex-qa.html

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
mex fortran win... Renwen Lin 11 Nov, 2011 22:54:16
rssFeed for this Thread

Contact us at files@mathworks.com