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.

mexFunctionName (C and Fortran)

Name of current MEX function

C Syntax

#include "mex.h"
const char *mexFunctionName(void);

Fortran Syntax

#include "fintrf.h"
character*(*) mexFunctionName()


Name of the current MEX function.


mexFunctionName returns the name of the current MEX function.


See the following examples in matlabroot/extern/examples/mex.

Introduced before R2006a

Was this topic helpful?