MATLAB Compiler    

Stand-Alone C Applications

To build stand-alone C applications as described in this chapter, MATLAB, the MATLAB Compiler, a C compiler, and the MATLAB C/C++ Math Library must be installed on your system.

The source code for a stand-alone C application consists either entirely of M-files or some combination of M-files, MEX-files, and C or C++ source code files.

The MATLAB Compiler translates input M-files into C source code suitable for your own stand-alone applications. After compiling this C source code, the resulting object file is linked with the object libraries.

For more information about distributing a C application, see Distributing Stand-Alone Applications.


  Differences Between MEX-Files and Stand-Alone Applications Stand-Alone C++ Applications