MEX file
A MEX file is a type of computer file that provides an interface between MATLAB or Octave and functions written in C, C++ or Fortran.[src] It stands for "MATLAB executable".[src] When compiled, MEX files are dynamically loaded and allow external functions to be invoked from within MATLAB or Octave as if they were built-in functions.[src] To support the development of MEX files, both MATLAB and Octave offer external interface functions that facilitate the transfer of data between MEX files and the workspace.[src] In addition to MEX files, Octave has its format using its native API, with better performance.[src]
A MEX file is a type of computer file that provides an interface between MATLAB or Octave and functions written in C, C++ or Fortran.[src] It stands for "MATLAB executable".[src] When compiled, MEX files are dynamically loaded and allow external functions to be invoked from within MATLAB or Octave as if they were built-in functions.[src] To support the development of MEX files, both MATLAB and Octave offer external interface functions that facilitate the transfer of data between MEX files and the workspace.[src] In addition to MEX files, Octave has its format using its native API, with better performance.[src] ==References== MEX-files guide from MathWorks MEX-files in the GNU Octave manual[src]
11 sentences · 11 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"MEX file." encyclopegia.org, 2024, https://encyclopegia.org/wiki/mex-file. Accessed 06 December 2026.
Chicago
"MEX file." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/mex-file.
APA
encyclopegia.org. (2024). MEX file. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/mex-file
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON