Call MEX File Functions

Call MEX file functions from MATLAB®

A MEX file is a function, created in MATLAB, that calls a C, C++, or Fortran subroutine. To call a MEX file, use the name of the file, without the file extension. The MEX file contains only one function or subroutine, and its name is the MEX file name. The file must be on your MATLAB path.


mexext Binary MEX-file-name extension
inmem Names of functions, MEX-files, classes in memory

Examples and How To

Was this topic helpful?