| MATLAB Compiler |
 |
Input and Output Files
This section describes the files created during the compilation process.
Stand-Alone Executable
In this example, the MATLAB Compiler takes the M-files foo.m and bar.m as input and generates a stand-alone executable called foo.
mcc -m foo.m bar.m
File
|
Description
|
|---|
foo_main.c
|
The main-wrapper C source file containing the program's main function. The main function takes the input arguments that are passed on the command line and passes them as strings to the foo function.
|
foo_mcc_component_data.c
|
C source file containing data needed by the MCR to run the application. This data includes path information, encryption keys, and other initialization information for the MCR.
|
foo.ctf
|
The CTF archive. This file contains a compressed and encrypted archive of the M-files that make up the application (foo.m and bar.m). It also contains other files called by the two main M-files as well as any other executable content and data files needed at run-time.
|
foo
|
The main executable file of the application. This file reads and executes the content stored in the CTF archive. On Windows, this file is foo.exe.
|
| Build Process | | C Shared Library |  |
© 1994-2005 The MathWorks, Inc.