| MATLAB Application Program Interface | Search  Help Desk |
| mexFunctionName | Examples |
Gives the name of the current MEX-function
C Syntax
#include "mex.h" const char *mexFunctionName;
Arguments
noneReturns
The name of the current MEX-function.Description
mexFunctionName returns the name of the current MEX-function.Example
Seemexgetarray.c in the mex subdirectory of the examples directory.