This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Executable Fortran MEX Files

Build Fortran subroutines into MATLAB® functions


Build Fortran MEX File

This example shows how to build the example MEX file, timestwo.

What You Need to Build MEX Files

How to start creating MEX files.

Change Default Compiler

How and when to change the default compiler.

Custom Build with MEX Script Options

Customizing the MEX build process.


Debug Fortran Source MEX-Files

Debugging MEX-file source code from MATLAB software

MATLAB Supports Fortran 77

MATLAB supports MEX files written in Fortran 77.

Compiling MEX File Fails

What to do when compiling a MEX file fails.

Symbol mexFunction Unresolved or Not Defined

Every MEX file needs a mexFunction.

Was this topic helpful?