Mex

Noun · Development

Definitions

  1. MATLAB Executable — a compiled C, C++, or Fortran function callable from within MATLAB, used to speed up performance-critical code or interface with external libraries.

    In plain English: A way to write fast C or C++ code and call it from MATLAB when MATLAB alone isn't fast enough.

    Example: "The simulation was too slow in pure MATLAB, so we rewrote the inner loop as a MEX file."

Related Terms