Why MEX?


There are several situations where you might want to use a MEX-file: MEX-files are not appropriate for all applications. MATLAB is a high-productivity system whose specialty is eliminating time-consuming, low-level programming in compiled languages like C or Fortran. In general, most programming should be done in MATLAB. Do not use the MEX facility unless your application requires it.

Back to Table of Contents