- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'd like to usefortran compiler in Matlab environment. I followed installation instructions and first installed Microsoft Visual C++ Express, SDK and then Intel VisualFortran Compiler 9.1.033. Unfortunatelly when I run "mex -setup" command, Matlab finds only Lcc C and Microsoft Visual C/C++ compilers. Why Matlab can't find Intel Fortran compiler?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you asked Mathworks for help on this? I have a vague memory that their instructions tell you to invoke the Intel ifortvars.bat file, or maybe you have to do that before running mex.
I have not used MATLAB so I can't provide specific advice. Perhaps other readers here can.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm a bit puzzled by Gerry's response. MATLAB supports use of Intel Visual Fortran.
Looking at this MATLAB support page, it suggests using "mex -setup" to configure things. I'm sure you can get more help from the Mathworks folks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Allow me to clarify the situation (for R14a/sp3):
mex -setup
does NOT recognize IVF as a mexing compiler.
Rather than theMatlab forum, the OP should check comp.soft-sys.matlab fordetails on how to hack mexing with IVF.
On marginal platforms, Intel fortran might well be mexed for all I care but that's outside the scope of this forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't know what version of Matlab you're using. Try looking at a fortran opts.bat file, change its parameters as appropriate until you get it to work. Whatever the Matlab support forum claims (and it claims that some versions of Matlab support IVF 9.x) if you don't have an opts.bat then you're out of luck, unless of course you roll your own.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page