User`s guide
1 Introducing the MATLAB Compiler
1-6
Conditional Expressions. Reduces the MATLAB conditional operators to scalar C
conditional operators when both operands are known to be integer scalars.
For more information on these optimizations, see Chapter 6, “Optimizing
Performance.”
mlib Files
mlib files make it possible to produce a shared library out of a toolbox and then
compile M-files that make calls into that toolbox. Specifying an
mlib file tells
the MATLAB Compiler to link against the
mlib file’s corresponding shared
library whenever it needs to use any of the functions found in that library. The
mlib file and its corresponding shared library file must be located within the
same directory. For more information about
mlib files, see “mlib Files” on page
5-26.
Additional Data Type Support
Integer Data Types. The signed and unsigned integer arrays int8, int16, int32,
uint8, uint16, and uint32 are now supported, which provides improved
support for the Image Processing Toolbox.
Function Handles. A function handle is a new MATLAB data type that captures
all the information about a function that MATLAB needs to evaluate it. The
MATLAB Compiler supports function handles. For more information on
function handles, see the
function handle reference page.
Improved Support for load and save
load and save are now supported when they do not list the variables to be
loaded or saved. They work by loading or saving all variables that are defined
or used within the function.
Dynamically Linking in MEX-Files in the Stand-Alone Environment
Specifying -h or providing the name of a function on the command line will
automatically link in any referenced MEX-files.
MATLAB Add-In for Visual Studio
®
This add-in integrates the MATLAB Compiler into Visual C/C++ Version 5 or
6. To learn more about the MATLAB add-in for Visual Studio, see “Using an
Integrated Development Environment” on page 4-23.