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
and the directory path for mex option is
How should I do? Anyone who can help me will be sincerely thanked.
No products are associated with this question.
Play games and win prizes!Learn more