MATLAB: Adding compaq visual fortran to compiler list

fortranMATLAB Compilermexmex compiler

Hi
I installed Compaq visual fortran but when I use mex -setup, it shows No supported compiler or SDK was found. How can I add compiler to the list. I have windows 7 with 64 bits. Thanks.

Best Answer

Support for Compaq Visual Fortran was discontinued many years ago. At first they just dropped the setup files (one could still get it to work by using old setup files). But then they removed the API routine hooks necessary for a seamless mex experience (i.e., copying old setup files no longer worked). That being said, if you jump through some hoops you might be able to get it to work with later versions of MATLAB. dpb has had some recent headaches with this. See this thread for more info:
However, all of my experience with CVF has been with 32-bit MATLAB. I doubt something as old as CVF came with a 64-bit compiler, which you would need to use with 64-bit MATLAB.