Name of current MEX function
#include "mex.h" const char *mexFunctionName(void);
#include "fintrf.h" character*(*) mexFunctionName()
mexFunctionName returns the name of the current MEX function.
mexFunctionName
expand all
fName
const char*
character*(*)
Current MEX function name, returned as const char* in C or character*(*) in Fortran.
See these examples in matlabroot/extern/examples/mex:
matlabroot/extern/examples/mex
matlabroot
mexgetarray.c