| MATLAB Compiler | ![]() |
Wrapper Files
The MATLAB Compiler (mcc) generates redistributable, stand-alone applications or software components from M-files. The specific final target can be any of the supported component types including stand-alone executable, library, or component. The Compiler generates the appropriate wrapper file based on the desired target. A wrapper file contains the required interface between the compiled application and the supported executable type.
Wrapper files differ depending on the execution environment. To provide the required interface, the wrapper
For example, the wrapper for a stand-alone executable contains the main function. The wrapper for a library contains the entry points for each public M-file function. You can find additional details specific to each wrapper type in each target's chapter throughout this book.
The Component Technology File (CTF) produced by the MATLAB Compiler is independent of the final target type -- executable or library, but the CTF archive is platform specific. The wrapper file provides the necessary interface to the target type.
| Uses of the MATLAB Compiler | Stand-Alone Applications | ![]() |
© 1994-2005 The MathWorks, Inc.