mexFunctionName (C and Fortran) - Name of current MEX-function

C Syntax

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

Fortran Syntax

character*(*) mexFunctionName()

Returns

The name of the current MEX-function.

Description

mexFunctionName returns the name of the current MEX-function.

C Examples

See mexgetarray.c in the mex subdirectory of the examples directory.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS