what is mex file and why do we require mex file

26 views (last 30 days)
Mex file

Answers (1)

Walter Roberson
Walter Roberson on 23 Nov 2013
You can call your own C, C++, or Fortran subroutines from the MATLAB® command line as if they were built-in functions. These programs, called binary MEX-files, are dynamically-linked subroutines that the MATLAB interpreter loads and executes. MEX stands for "MATLAB executable."
They are not quite the same as DLL in that the calling form they use is specific to MATLAB instead of being for straight-forward use from other programs.

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!