MATLAB Compiler Previous page   Next Page

Stand-Alone Applications

The MATLAB Compiler, when invoked with the -m macro option, takes the input M-files and produces the required wrapper file suitable for a stand-alone application. Then, your C or C++ compiler compiles this code and links against the MCR, which is a stand-alone set of shared libraries that enable the execution of M-files. For example, to generate a stand-alone executable from the file example.m, use

For overview information on creating stand-alone applications and deploying them, see Quick Start. For detailed information on stand-alone applications, see Stand-Alone Applications.


Previous page  Wrapper Files Libraries Next page

© 1994-2005 The MathWorks, Inc.