Why do I get the error "Visual Fortran run-time error. Severe error (602) file not found" when I run my Fortran MEX file?

Why do I get the following error:
Visual Fortan run-time error. Severe error (602) file not found, libmex.dll, m_interpreter.dll, ...
when I run my Fortran MEX file?
I have checked to make sure that the files specified in the error message are on my system path. I have even tried moving all the DLLs to the same directory where the MEX file is run. I still receive the same error message.

 Accepted Answer

This is not a problem with MATLAB or the Fortran MEX file.
The runtime error code:
Visual Fortan run-time error. Severe error (602) file not found, libmex.dll, m_interpreter.dll, ...
indicates that an OPEN statement asks for a specified file or a directory path that does not exist.
Please make sure that the file you are attempting to open exists and is located in the directory specified in the OPEN statement.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!