Version 4.0 (R14) MATLAB Compiler

This table summarizes what's new in Version 4.0 (R14):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site
Yes
Details below
Yes—Details labeled as Compatibility Considerations, below. See also Summary.No bug fixesNo

New features and changes introduced in this version are:

Targets

MATLAB Compiler can generate the following kinds of applications or components. None of these requires MATLAB on the end user's system.

Language Support

MATLAB Compiler supports all the functionality of MATLAB, including objects. In addition, no special considerations are necessary for private and method functions; they are handled by MATLAB Compiler.

Improved C++ Interface

The C++ interface for MATLAB Compiler generated wrapper functions has been improved.

MATLAB Compiler Runtime

MATLAB Compiler 4 uses the new MATLAB Compiler Runtime (MCR), which is a standalone set of shared libraries that enable the execution of compiled M-files, instead of the MATLAB C/C++ Math and Graphics Libraries. The MCR provides complete support for all features of the MATLAB language.

Component Technology File

MATLAB 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.

Compatibility Considerations

MATLAB Compiler 4 is compatible with previous releases of MATLAB Compiler. M-files that you compiled with a previous version of MATLAB Compiler should compile with this version if your M-files contain only compilable Release 14 functions. There are no restrictions on the contents of your M-files other than compatibility with Release 14.

Compiling MATLAB and Toolboxes

MATLAB Compiler supports the full MATLAB language and almost all MATLAB based toolboxes. However, some limited MATLAB and toolbox functionality is not licensed for compilation:

The code generated by MATLAB Compiler is not suitable for embedded applications.

To see an up-to-date list of noncompilable toolboxes and functionality, visit the MATLAB Compiler product page on the Web.

Differences Between Release 14 and Previous Versions of MATLAB Compiler

This section highlights significant differences between Compiler 4 and previous versions of MATLAB Compiler.

MATLAB Compiler 4 is a deployment tool for creating software components and complete applications that can be distributed to other users. This version of MATLAB Compiler fully supports all features of the MATLAB language including objects:

Wrapper Differences.  

Deprecated Compiler Options.  

New Compiler Options.   Compiler 4 includes several new options.

Option

Description

a filename

Add filename to archive; specifies files to be directly added to the CTF archive.

l

Macro that generates a function library. (The meaning of this option has changed since Release 13.)

N

Clears the path of all but a minimal, required set of directories.

p directory

Add directory to compilation path in an order-sensitive context; requires -N option.

R -nojvm
R -nojit

Run-time; provides MCR options; same as MATLAB startup options of the same name; only used with executable target.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS