Advertisement

MEX Files, C/C++, and Standalone Applications

  • Sulaymon Eshkabilov
Chapter

Abstract

MEX stands for MATLAB executable and it’s a way to call custom C, C++, or FORTRAN routines/code directly from MATLAB, thereby treating them as if they were MATLAB built-in functions. Since MATLAB is compatible with several programming languages, including C/C++, FORTRAN, C#, and Java, the MEX files can be called exactly like M-files or M-functions within the MATLAB environment. It is also possible to create standalone applications in MATLAB as self-executable files.

Copyright information

© Sulaymon Eshkabilov 2019

Authors and Affiliations

  • Sulaymon Eshkabilov
    • 1
  1. 1.FargoUnited States

Personalised recommendations