Version 4.8 (R2008a) MATLAB Compiler Software

This table summarizes what's new in Version 4.8 (R2008a):

New Features and ChangesVersion Compatibility ConsiderationsFixed Bugs and Known ProblemsRelated Documentation at Web Site
Yes
Details below
Yes
Summary
Bug Reports
Includes fixes
No

New features and changes introduced in this version are:

C++ API Now Supports 64-Bit Default

In R2007b, the MX_COMPAT_32_OFF variable allowed for 64-bit support. In this release, 64-bit is the default setting. If you still require explicit 32-bit execution, see "Addressing mwArrays Above the 2 GB Limit" in the MATLAB Compiler User's Guide for more information.

CTF Archives Now Embedded in a Single Binary Executable for Convenient Deployment

As of R2008a, CTF data is now automatically embedded directly in the C/C++, main and Winmain, shared libraries and standalones by default for convenient deployment of applications. In order to override this default functionality, you must compile with the -C option. See "Overriding Default CTF Archive Embedding Using the MCR Component Cache" in the MATLAB Compiler User's Guide for more information.

Support Added for Microsoft Visual Studio 2008 Compiler

Support has been added for the compiler included with Microsoft Visual Studio 2008. See "System Requirements " in the MATLAB Compiler User's Guide for more details.

Replacement of the mclmcr Header File

Starting with R2008a, replace all occurrences of #include mclmcr.h with #include mclmcrrt.h.

If the library header created by MATLAB Compiler software is included in the external code, neither of these files need to be included, since the library header includes the correct file.

Run-Time Libraries Required for Applications Built with Microsoft Visual Studio 2008 Compiler

If you distribute a MEX-file, an engine application, or a MAT-file application built with the Visual Studio® 2008 compiler, you must provide the Visual C++® run-time libraries. These files are required to run applications developed with Visual C++ on a computer that does not have Visual C++ 2008 installed. For information on locating the Microsoft® Visual C++® 2008 Redistributable Package (x86), containing vcredist_x86.exe and vcredist_x64.exe, consult your Microsoft® documentation.

Large Array Support Now Default for C and C++ Code

In R2008a, the default definition of MX_COMPAT_32 has been removed, and large array support is now the default for both C and C++ code. This new default may, in some cases, cause compiler warnings and errors. You can define MX_COMPAT_32 in your mbuild step to return to the previous default behavior.

Code compiled with MX_COMPAT_32 is not 64-bit aware. In addition, MX_COMPAT_32 controls the behavior of some type definitions. For instance, when MX_COMPAT_32 is defined, mwSize and mwIndex are defined to ints. When MX_COMPAT_32 is not defined, mwSize and mwIndex are defined to size_t. This can lead to compiler warnings and errors with respect to signed and unsigned mismatches.

For information about expected behavior of this feature in R2007b, see "Addressing MWArrays Above the 2 GB Limit" in the MATLAB Compiler User's Guide for more information..

This feature changes how the MWArray C++ Library functions are implemented. For more details, see "Addressing mwArrays Above the 2 GB Limit" in the MATLAB Compiler User's Guide.

Support Dropped for Borland Compilers

Borland compilers are no longer supported as of this release.

MATLAB Component Runtime Renamed

The MATLAB Component Runtime has been renamed to the MATLAB Compiler Runtime.

MATLAB Application Deployment Web Example Guide Available

A new publication, the MATLAB Application Deployment Web Example Guide, is now available from the MATLAB Compiler, MATLAB® Builder™ NE, and MATLAB Builder JA roadmap pages.

The guide provides full examples of common tasks performed by the MATLAB programmer, IT specialist, and others who play significant roles in deploying MATLAB applications to the Web.

For More Information About Compilers Supported by MATLAB

For more information about changes in compiler-related software and interfaces supported by MATLAB, see "Changes to Compiler Support" in the MATLAB Compiler User's Guide for more information.

  


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