MATLAB Compiler Previous page   Next Page

Common Uses of the Compiler

This section summarizes how to use the MATLAB Compiler to generate some of its more standard results.

Create a Stand-Alone Application

Example 1

To create a stand-alone executable from mymfile.m, use

Example 2

To create a stand-alone application from mymfile.m, look for mymfile.m in the directory /files/source, and put the resulting C files and executable in /files/target, use

Example 3

To create a stand-alone application mymfile1 from mymfile1.m and mymfile2.m using a single mcc call, use


Previous page  MATLAB Compiler Quick Reference Create a Library Next page

© 1994-2005 The MathWorks, Inc.