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 ...
www.mathworks.com