Why do I get an error when trying to MEX Fortran functions?

I get the following error when trying to MEX an example Fortran file:
"Error using MEX no supported compiler or SDK was found."

 Accepted Answer

This error message is shown when no Fortran compiler compatible with the currently installed MATLAB has been found on the machine.
The supported Fortran compilers for the most recent release of MATLAB are listed on our "Supported and Compatible Compilers" page:
Supported compilers for previous releases of MATLAB can be found here:
Some Intel Fortran compilers may depend on tools provided by Microsoft such as Microsoft Visual Studio. See "Notes for the Windows Platform" for supported combinations.

More Answers (0)

Categories

Products

Release

R2017b

Community Treasure Hunt

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

Start Hunting!