1-3
New Features
MATLAB Compiler 2.1 supports much of the functionality of MATLAB 6. The
new features of the Compiler are:
•Optimizations
•
mlib files
•Additional data type support
•Improved support for
load and save
•D ynamically linking in MEX-files in the stand-alone enviro nment
•MATLAB add-in for Visual Studio
•Faster C/C++ Math Library applications
•Addit ional language support
Note The MATLAB Compiler 2 .1 does not support user-defined classes
(MATLAB objects), scripts, or calls to t he MATLAB Java interface.
Optimizations
Compiler 2.1 provides a series of o p timi z ations that can help speed up your
compiled code. T h es e optimizatio ns are on by def ault unless you are building a
debugga ble version.
Folding Array Constants. Folds scalar an d nonscalar valued array constants.
One- and Two-Dimensional Array Indexing. Uses faster routines that are optimized
for simple indexing.
for-loops. Optimizes for- loops with integer starts and increments.
Conditional Expressions. Reduces the MATLAB conditional operators to scalar C
conditional operators when both oper and s a r e k now n to be inte ger scala rs.
For more information on these optimizations, see Chapter 6, “Optimizing
Performance.”
Comments to this Manuals