User`s guide

3 Compilation Process
Over view of MATLA B Compiler Te chnology
In this section...
“MATLAB Component Runtime” on page 3-2
“Component Technology File” on page 3-2
“Build P rocess ” on page 3-3
MATLAB Component Runtime
MATLAB Compiler 4 uses the MATLAB Component Runtime (MCR), which is
a standalone set of shared libraries that enable the execution of M-files. The
MCR provides complete support for all features of the MATLAB language.
Note Since the MCR technology provides full support for the MATLAB
language, including Java, starting a compiled application takes approximately
thesameamountoftimeasstartingMATLAB.
TheMCRmakesuseofthreadlockingsothatonlyonethreadisallowedto
access the MCR at a time. As a result, calls into the MCR are threadsafe for
MATLAB Compiler generated libraries, COM objects, and .NET objects.
Component Technology File
Compiler 4 also uses a Component Technology File (CTF) archive to house the
deployable package. All M-files are encrypted in the CTF archive using the
Advanced Encryption Standard (AES) cryptosystem where symmetric keys
are protected by 1024-bit RSA keys.
Each application or shared library produced by MATLAB Compiler has an
associated CTF archive. The archive contains all the MATLAB bas ed content
(M-files, MEX-files, etc.) associated with the component. When the CTF
archive is extracted on a user’s system, the files remain encrypted.
3-2