Compiling and Linking matdemo1.f

1 view (last 30 days)
Ding Liu
Ding Liu on 19 May 2013
Hi, I am learning to use mex file to call FORTRAN from Matlab. Now I know how to compile and link FORTRAN functions, but I do not know how to do the same to MAT files. For example, I do not know to compile and link matdemo1.f, a example MAT file. The softwares I am using are Matlab 2012b, and Intel Visual Fortran Composer XE-2011 (with Microsoft Visual C++ 2010 linker).
The directory path for matdemo1.F is
'C:\Program Files\MATLAB\R2012b\extern\examples\eng_mat\matdemo1.F',
and the directory path for mex option is
'C:\Program Files\MATLAB\R2012b\bin\win64\mexopts'.
How should I do? Anyone who can help me will be sincerely thanked.

Answers (0)

Categories

Find more on Fortran with MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!