Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Contents

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()

Returns

Name of the current MEX-function.

Description

mexFunctionName returns the name of the current MEX-function.

Examples

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

Was this topic helpful?