Skip to Main Content Skip to Search
Product Documentation

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

C Syntax

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

Fortran Syntax

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.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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