User`s guide

1 Introducing the MATLAB Compiler
1-4
mlib Files
mlib filesmake it possible toproduceashared libraryout of a toolboxand then
compile M -files that make cal ls into that toolbox. Specifying an
mlib file tells
theMATLABCompilertolinkagainstthe
mlib file’s corresponding shared
library whenever it need s to use any of the functions found in that library. T he
mlib file and i ts corresponding shared library f ile must be locat ed within the
same directory. For more informationabout
mlib file s, see “mlib F iles” on pag e
5-25.
Additional Data Type Support
Integer Data Types. The signed and unsigned integer arrays int8, int16, int32,
uint8, uint16,anduint32 are now supported, which provides improved
support for the Image Processing Toolbox.
Function Handles. A functi on handle is a new MATLAB da ta type that captures
all the informatio n abo ut a f unction that MATLAB needs to evaluate i t.
Compiler 2 .1 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 suppo rted 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 wit hin 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 2.1 into Visual C/C++ Version 5
or 6. To learn more about the MATLAB add-in for Visual Studio, see Using an
IDE on page 4-24.
Faster C/C++ Math Library Applications
The improved performance of the C/C++ Math Library is due in part to the
added scalar accelerated versions of many of the library functions.