Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28632 Discussions

How can I set up Matlab R2009 for MEX-file generation using fort 12.1 on max Os X 10.7

allioneg
Beginner
211 Views
Hi everybody,
when I try to set up mex in MATLAB R2009 with the command mex -setup, my ifort 12.1 doesn't appear in the list of compilers I need to choose from.
Has anybody ever tried this?
0 Kudos
1 Reply
mecej4
Honored Contributor III
211 Views
> ifort 12.1 doesn't appear in the list of compilers

That is for the simple reason that 12.1 was released in 2011, a couple of years after Matlab R2009 was released. I have successfully compiled some .mex objects using this combination, but from the command window rather than from inside Matlab.

Try this: open the IFort 12.1 command window (console or terminal). Run Matlab from the command line, and try 'mex -setup'.
0 Kudos
Reply