MATLAB Compiler Release Notes
R2015aSP1
32-bit Excel Add-In Compatibility: Create Excel add-ins in a 64-bit MATLAB that are capable of running in 32-bit Microsoft Office.
Excel®add-ins created using a 64-bit installation ofMATLAB Compiler™can be installed and used by 32-bit installations of Microsoft®Office.
Hadoop Support for ImageDatastore: Deploy Hadoop packages with data imported from image collections that are too large to fit in memory
Use thedatastore
function to create anImageDatastore
, which can import data from image collections that are too large to fit in memory.ImageDatastore
is a compatibledatastore
for use withmapreduce
.
MATLAB Compiler and builders repackaged as MATLAB Compiler andMATLAB Compiler SDK
Functionality to create Excel add-in components for Microsoft Excel desktop applications has moved to MATLAB Compiler.
Functionality to create C/C++ shared libraries has moved toMATLAB Compiler SDK™.
Functionality to create CTF archive files for use withMATLAB Production Server™has moved toMATLAB Compiler SDK.
Generation of an application-specific MATLAB Runtime based on requirements for GPU support
MATLAB Compileranalyzes your MATLAB code for use of graphics or a GPU and defines and calculates optimized MATLAB Runtime. A MATLAB Runtime specific for each application is available for download from the web or included in the package.
Deployable applications and libraries for Hadoop using MATLAB MapReduce
MATLAB Compilerincludes a MapReduce compiler app that packages MapReduce applications for deployment against Hadoop. The applications can be compiled into either standalone applications or libraries for use in developing other applications.
Faster packaging of compiled applications and libraries
MATLAB Compileruses a new dependency resolution function that is faster.
Compatibility Considerations
The new dependency resolution function requires that p-code being used in a compiled function has an associated.m
file containing the original source for the p-code.
Automatic download of version- and platform-specific MATLAB Compiler Runtime from MathWorks website
TheMATLAB Compilerapps generate a platform specific installer that will automatically download and install the proper MATLAB Compiler Runtime if it is needed.
R2013a
Apple Xcode 4.2 compiler support for generating or using C/C++ shared libraries on Mac OS X
MATLAB Compilernow supports C and C++ shared libraries generation for Mac OS X, using Apple Xcode compiler, version 4.2.
For more information on using Mac withMATLAB Compiler, seeWriting Applications for Mac or Linux.
MATLAB Compiler Runtime (MCR) available for Web download
TheMATLAB Compiler Runtime (MCR)is available for downloading from the Web to simplify the distribution of your applications or components created with theMATLAB Compiler.
Direct your end users to theMATLAB Compiler Runtimepage at//www.tianjin-qmedu.com/products/compiler/mcr/
to download the MCR, as opposed to redistributing or packaging it with your applications or components.
Support for lcc Compiler To Be Removed
Thelcc
compiler that ships with Windows®will no longer be supported as of R2013a.
For release R2012b, selecting thelcc
compiler usingmbuild -setup
results in a warning, though the compiler is available. In R2013a,lcc
will no longer appear in the list of available compilers.
MATLAB Compiler Runtime (MCR) Available for Web Download
TheMATLAB Compiler Runtime (MCR)is available for downloading from the Web to simplify the distribution of your applications or components created with theMATLAB Compiler.
Direct your end users to theMATLAB Compilerproduct pageto download the MCR, as opposed to redistributing or packaging it with your applications or components.
Support for Linux gcc 4.4 Compiler
MATLAB Compilernow supports Linux®gcc
4.4.x
compilers for both 32-bit and 64-bit architectures.
See//www.tianjin-qmedu.com/support/compilers/current_release/
for a complete up-to-date list of supported compilers and software.
Example of Deploying Graphical Function with Apple Xcode
An example demonstrating how to deploy a graphical MATLAB function with the Mac OS X Cocoa development layer, is available.
The function is compiled to a shared library target and then integrated into a deployed application using Apple Xcode.
SeeWriting Applications for Mac or Linuxfor more details.
Changes in MCR User Data Interface Arguments for Compiling Parallel Computing Toolbox Applications
Parallel Computing Toolbox™ configurations are now referred to asparallel profiles, as of R2012a.
SeeProfiles in Compiled Applicationsin theParallel Computing Toolbox Release Notesfor complete information.
Compatibility Considerations
The older MCR User Data Interface argumentParallelConfigurationFile
and MAT files will still be supported until Parallel Computing Toolbox documentation states otherwise, but note that if you use theParallelConfigurationFile
argument, you must supply a configuration.mat
file, rather than a profile.settings
file. If theParallelProfile
argument is used, a configuration.mat
file or a profile.settings
file can be used.
Support Updates forMicrosoft Visual StudioVersions
The following changes toMicrosoft Visual Studio®support apply for R2012a and R2012b.
Microsoft Visual StudioVersion | What Happens When You Attempt to Use This Version in R2012a | What Happens When You Attempt to Use This Version in R2012b |
---|---|---|
Microsoft Visual Studio2010 Express, for 32-bit or 64-bit architectures | Not Available | Not Available |
Microsoft Visual C++®2008 for 32-bit or 64-bit architectures | Warns | Not Available |
Support for lcc Compiler To Be Removed
Thelcc
compiler that ships with Windows will no longer be supported as of R2013a.
For releases R2012a and R2012b, selecting thelcc
compiler usingmbuild -setup
results in a warning, though the compiler is available. For R2013a,lcc
will no longer appear in the list of available compilers.
Functions and Function Elements Being Removed
Function or Function Element Name | What Happens When You Use the Function or Element | Do This Instead | Compatibility Considerations |
---|---|---|---|
|
Errors | Use one of the following functions without specifying an MCR ID: | For more information, seeSetting and Retrieving MCR Data for Shared Libraries. |
mclGetMcrUserData |
Errors | Usegetmcruserdata . |
For more information, seeSetting and Retrieving MCR Data for Shared Libraries. |
mclSetMcrUserData |
Errors | Usesetmcruserdata . |
For more information, seeSetting and Retrieving MCR Data for Shared Libraries. |
mclSetCmdLineUserData |
Errors | No replacement | Not applicable |
Faster Installation of MATLAB Compiler Runtime (MCR) with Improved MCR Installer
The Application Deployment products now feature faster installation of the MATLAB Compiler Runtime (MCR) through improved MCR Installer technology. In addition to improved performance, the new installer provides a common interface for all platforms.
Support for Graphics Processing Unit (GPU) in Parallel Computing Toolbox Applications
MATLAB Compilergenerated executables and components now benefit from better performance when used with Parallel Computing Toolbox applications. The improvement is due to support of the Graphics Processing Unit (GPU) feature.
For more information, seeGPU Computingin theParallel Computing Toolbox User's Guide, as well as the Parallel Computing Toolbox examples in the deployment user's guides for additional information about compiling your deployable application with GPU.
Functions and Function Elements Being Removed
Function or Function Element Name | What Happens When You Use the Function or Element | Do This Instead | Compatibility Considerations |
---|---|---|---|
%#external |
Errors | 重写C或c++函数作为MEX-file和call it from your application. | For additional information, seeInterfacing MATLAB Code to C/C++ Codein the User's Guide andCreating C/C++ Language MEX-Filesin theMATLAB External InterfacesUser's Guide. |
|
Warnings | Use one of the following functions without specifying an MCR ID: | For more information, seeSetting and Retrieving MCR Data for Shared Libraries. |
mclGetMcrUserData |
Warnings | Usegetmcruserdata . |
For more information, seeSetting and Retrieving MCR Data for Shared Libraries. |
mclSetMcrUserData |
Warnings | Usesetmcruserdata . |
For more information, seeSetting and Retrieving MCR Data for Shared Libraries. |
mclSetCmdLineUserData |
Warnings | No replacement | No support as of version R2012a. |
Control System Toolbox™ prescale GUI | Errors | No replacement | The Control System Toolbox prescale GUI is no longer compatible withMATLAB Compilerand cannot be deployed. |
Local Worker Support for Parallel Computing Toolbox Applications
MATLAB Compilerand the builders now support local workers in Parallel Computing Toolbox applications.
For information about this feature, seeUse a Local Clusterfor general information on Local Workers. Also, see theParallel Computing Toolbox User's Guidefor information about working with compilable PCT applications.
Error Reporting for Graphical Applications
MATLAB Compilernow provides error messages in pop-up windows for Windows and Macintosh graphical applications. You do not need to run a console in order to view these messages.
Microsoft Visual StudioExpress 2010 Compilers Supported
Effective with this release,Microsoft Visual StudioExpress 2010 compilers (32- and 64-bit versions) are now supported.Microsoft Visual StudioExpress 2008 compilers (32- and 64-bit versions), which have been dropped from support. SeeInstallation and Configurationin theMATLAB CompilerUser's Guidefor information about installing and configuring them. See//www.tianjin-qmedu.com/support/compilers/current_release/
for an up-to-date list of supported compilers.
Functions and Function Elements Being Removed
Function or Function Element Name | What Happens When you use the Function or Element | Use This Instead | Compatibility Considerations |
---|---|---|---|
mcc -F |
Errors | deploytool -n |
使用命令行信息中on of the Deployment Tool, seeUsing the Deployment Tool from the Command Line. |
R2010bSP1
Support forMicrosoft Visual Studio2010 Added
This release adds support forMicrosoft Visual Studiosoftware on both 32-bit and 64-bit systems. See theInstallation and Configurationchapter in theMATLAB CompilerUser's Guidefor more information.
Include the MCR Installer from a Link on Your Local Network
This feature lets you add a link to an MCR Installer residing on a local area network. Adding this link allows you to invoke the installer over the network, as opposed to copying the installer physically into each deployable package.
SeePackaging (Optional)in theMATLAB Compiler User's Guide, or in your respective Builder product User's Guide, for more details.
mbuild -setup No Longer Needed Before Compiling Standalone Targets
You no longer need to specify a third-party compiler withmbuild -setup
when building a standalone target. This is the case for both standalones and Windows standalones (standalone applications that suppress the DOS command window when running). For more information about whenmbuild -setup
is not needed, seeWhen Not to Use mbuild -setup.
mcc Caching Automatically Managed for Linux Systems
In previous releases, you could manually manage cache formcc
on Linux systems.
As of R2010b, caching formcc
is automatically managed and tuned. No user intervention is required.
Mixing MATLAB Files and C or C++ Files Workflow Deprecated for Alternate Workflow
In previous releases, the workflow described in the procedure "Mixing MATLAB Files and C or C++ Files" detailed how to mix MATLAB and C or C++ source files. This workflow has been replaced with a more straight-forward approach for release R2010b.
Compatibility Considerations
过时的工作流(记录之前运行R2010b) now results in a warning.
SeeCombining Your MATLAB and C/C++ Codefor details on the recommended replacement workflow.
mcc -F Option Deprecated with Warning
As of R2011a, themcc -F
option will no longer process Deploytool Tool project files passed in or generate project files when invoked with command line arguments.
Compatibility Considerations
In R2010b, a warning will appear when themcc -F
command is issued. In R2011a, the command will generate an error.
Instead of usingmcc -F
, seeUsing the Deployment Tool from the Command Linein the User's Guide for replacement functionality.
%#EXTERNAL Pragma Deprecated For Standalones
Use of the%#external
pragma to combine C/C++ code with a MATLAB application has been deprecated for standalone targets in release R2010b.
Compatibility Considerations
Using the%#external
pragma in release R2010b results in a warning. In a future release, usage will result in an error.
SeeInterfacing MATLAB Code to C/C++ Codefor details of the replacement workflow.
New Deployment Tool Project Format
Beginning in release R2010b, the Deployment Tool will store projects in a new format.
Compatibility Considerations
If you open a supported legacy project file withdeploytool
, you will automatically be prompted to save it in the new format.
If your legacy project files are in a nonuser-customized format, there is no action you need to take beyond converting your projects to the new format, when prompted.
Intel Macintosh 32-Bit Systems (Maci) No Longer Supported
Intel Macintosh 32-Bit systems, also known as Maci, are no longer supported as of release R2010b.
The software still supports Intel Macintosh 64-Bit systems, also known as Maci 64.
Compatibility Considerations
所有电脑包由部署连续cts are designed to run on 64-bit architectures and specific releases of the Apple operating system. Incompatibilities will result in an error from the Apple operating system.
Desktop Icon Available for Launching 64-Bit Mac Applications
Macintosh 64-bit applications can now be launched conveniently from the desktop. SeeUsing MATLAB Compiler on Mac or Linuxfor details about the Mac Application Launcher and other guidelines for UNIX, Linux, and Mac users.
Support for MATLAB Sparse Matrices
This release provides support for MATLAB sparse matrices via a C++ API. SeeStatic Factory Methods for Sparse Arraysfor a listing of capable classes and methods.
Deployment Tool Now Available from Command Line
You can now invoke the Deployment Tool GUI from the command line. SeeUsing the Deployment Tool from the Command Linefor more information.
MCR Version Number Change
As described in theMATLAB Release Notes, the version number of the MATLAB Compiler Runtime (MCR) in release R2009bSP1 is different from the MCR version number in release R2009b.
Redesigned Deployment Tool GUI
The new Deployment Tool (deploytool
) interface features intuitive task-based navigation, a cancellable progress dialog, fast loading of previously-created projects, and ability to add supporting files as folders. The GUI also features new context sensitive help.
Customizable MCR Start-Up Message
Console applications can now display a user-customizable message indicating that the MATLAB Compiler Runtime (MCR) is in the process of starting up. SeeDisplaying MCR Initialization Start-Up and Completion Messages For Usersfor more information.
MATLAB Memory Shielding Available
The same memory shielding process available in MATLAB is now available for deployed applications. The process reserves memory to ensure resource-intensive applications are allocated proper run-time resources. SeeReserving Memory for Deployed Applications with MATLAB Memory Shieldingfor more information.
New Format for Deployment Tool Projects
As of this release, deployment projects are being created in a new file format.
Compatibility Considerations
If you have projects that were created with the Deployment Tool prior to R2009b, those projects will continue to work. However, projects created or changed in R2009b cannot be opened in previous versions of Deployment Tool (deploytool
). Recreate old projects with Deployment Tool to ensure they function properly.
Change in Windows Library Path
The pathmatlab\bin\
has been removed for Windows and replaced byarch
matlabroot\runtime\win32|win64
. You may be required to reconfigure your deployment target computers. SeeSet MCR Paths for Development and TestingandSet MCR Paths for Run-Time Deploymentfor more information.
INLINE Option to MEX Function Deprecated
For more information on this change in support that will occur in R2010a, seeFunctionality Being Removedin theMATLAB Release Notes.
Reduced MCR Size Saves on Transfer Time
MCR copying and transfer time has been improved by 50% following a reduction in the file's contents. The change will not reduce processor time or memory consumption since the deleted files were not loaded into RAM.
MATLAB Pcode Files Can Now Be Compiled
You can now compile protected MATLAB files (Pcode files or "P-files"). For more information about Pcode and P-files, see theMATLAB Function Reference.
New Functions Return Information About MCR State
New functions have been introduced that return data about MCR state, such as whether the MCR has been properly initialized or whether the MCR was launched with a JVM™ instance enabled. For more information, seeRetrieving MCR Attributesin the user guide.
Microsoft Visual StudioExpress 2008 Compilers Supported
Microsoft Visual StudioExpress 2008 compilers (32- and 64-bit versions) are now supported instead ofMicrosoft Visual StudioExpress 2005 compilers (32- and 64-bit versions), which have been dropped from support. SeeInstallation and Configurationin theMATLAB CompilerUser's Guide for a complete list of supported compilers and information about installing and configuring them.
Applications Created with Parallel Computing Toolbox Can Be Compiled
You can now compile MATLAB applications that use the Parallel Computing Toolbox. Resulting executables and components can scale to multicore and multiprocessing environments using theMATLAB Distributed Computing Server™. For more information, seeImproving Data Access Using the MCR User Data Interfacein theMATLAB CompilerUser's Guide for more information.
Data Sharing Between MATLAB Code, MCR Instance, and Wrapper Code Available
It is now possible to share data between an MCR instance, the MATLAB code running on that MCR, and the wrapper code that created the MCR, by implementing two MATLAB functions and four external C functions in a new API that may be called from within deployed application wrapper code. Using these functions may potentially improve performance and promote efficient use of computing resources. SeeImproving Data Access Using the MCR User Data Interfacein theMATLAB CompilerUser's Guide for more information.
64-Bit Addressing of mwArrays Is New Default, 32-Bit Addressing No Longer Supported
TheMX_COMPAT_32_OFF
variable, which allowed 32-bit addressing ofmwArray
s, is no longer supported. As in R2008a, the default is 64-bit (large array support). See "Addressing mwArrays Above the 2 GB Limit" in theMATLAB CompilerUser's Guide for more information.
Microsoft Visual Studio2008, 32-Bit and 64-Bit Editions, Now Supported
Support is now available forMicrosoft Visual Studio2008, 32-bit and 64-bit editions.
Warning Results When Running Figure-Generating Applications or Printing with -nojvm Flag
As of R2008b, running a figure-generating application or printing with the-nojvm
option results in a warning message.
Compatibility Considerations
In some cases, figure rendering may succeed, and in other cases it may not. Similarly, various MATLAB graphics functions dependent on Java®, such as graphics passed with-R -nojvm
, will not result in displayable graphics. In a future release, the-nojvm
option will no longer support figure-generating or printing and will be removed.
Same Name Class Objects Shared Between MCR Instances Will Not Work Correctly
If the same class name is used in two or more separate MCR instances within the same process, the object will not work correctly. This bug impacts all component based targets: C/C++ shared libraries, COM/.NET targets, and Java targets. This bug does not affect standalone executables. This is due to a bug in the MATLAB Object System and is being addressed.
C++ API Now Supports 64-Bit Default
In R2007b, theMX_COMPAT_32_OFF
variable allowed for 64-bit support. In this release, 64-bit is the default setting.
Compatibility Considerations
If you still require explicit 32-bit execution, see "Addressing mwArrays Above the 2 GB Limit" in theMATLAB CompilerUser'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 "MCR Component Cache and CTF Archive Embedding" in theMATLAB CompilerUser's Guidefor more information.
Support Added forMicrosoft Visual Studio2008 Compiler
Support has been added for the compiler included withMicrosoft Visual Studio2008. See "System Requirements" in theMATLAB CompilerUser's Guidefor more details.
Replacement of the mclmcr Header File
Starting with R2008a, replace all occurrences of#include mclmcr.h
with# include mclmcrrt.h
.
Compatibility Considerations
If the library header created byMATLAB Compilersoftware 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 withMicrosoft Visual Studio2008 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 theMicrosoft Visual C++2008 Redistributable Package (x86), containingvcredist_x86.exe
andvcredist_x64.exe
, consult your Microsoft documentation.
Large Array Support Now Default for C and C++ Code
In R2008a, the default definition ofMX_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 defineMX_COMPAT_32
in yourmbuild
step to return to the previous default behavior.
Code compiled withMX_COMPAT_32
isnot64-bit aware. In addition,MX_COMPAT_32
controls the behavior of some type definitions. For instance, whenMX_COMPAT_32
is defined,mwSize
andmwIndex
are defined toint
s. WhenMX_COMPAT_32
is not defined,mwSize
andmwIndex
are defined tosize_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 theMATLAB CompilerUser's Guide for more information..
This feature changes how theMWArray
C++ Library functions are implemented. For more details, see "Addressing mwArrays Above the 2 GB Limit" in theMATLAB CompilerUser's Guide.
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, theMATLAB Application Deployment Web Example Guide, is now available from theMATLAB Compiler,MATLAB BuilderNE, andMATLAB BuilderJAroadmap 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.
Enforcement of Proper Return Types For C/C++ Methods
As of R2008a, the LCC compiler is more strict in enforcingbool
return types from C andvoid
returns from C++. For more information, seeCode Proper Return Types From C and C++ Methodsin theMATLAB CompilerUser's Guide.
Changes inmclmcrrt.h
andmclmcr.h
Include Order
Changes introduced in this release now require that the header file mclmcr.h always be included after mclmcrrt.h in the preprocessing stage.
Compatibility Considerations
This change introduces a potential compatibility problem in subsequent releases ofMATLAB Compiler. See theMathWorks support Web sitefor further information.
Support Added for the Microsoft Platform SDK
Support has been added for the Microsoft Platform SDK Compiler. SeeSystem Requirementsin theMATLAB CompilerUser's Guidedocumentation for more details.
Project Files Use Relative Paths and Can Be Shared
Project files can now be enabled for use with other computers since project files now use relative paths. SeeUsing Relative Paths with Project Filesin theMATLAB CompilerUser's Guidedocumentation for more details.
Replacement of MCRInstaller.zip and BUILDMCR Functionality
In past releases, you needed to includeMCRInstaller.zip
in your packaged application (created by running thebuildmcr
command). Now you must run the following files, which trigger self-extracting archives, that replace the functionality previously provided byMCRInstaller.zip
. These files ship withMATLAB Compiler:
Platform | 文件替换MCRInstaller.zip |
---|---|
Windows | MCRInstaller.exe |
UNIX (Except for Mac) | MCRInstaller.bin |
Mac | MCRInstaller.dmg |
Since there is no longer a need to createMCRInstaller.zip
,buildmcr
is no longer supported.
Typemcr
ormcrinstaller
at the MATLAB command prompt for a list of all available MCR installers, compatible platforms, version numbers, and other information. In addition, typinghelp mcr
orhelp mcrinstaller
at the command prompt will provide further details and assistance.
SeeDistribute MATLAB Code Using the MATLAB Compiler Runtime (MCR)for more information.
Addressing MWArrays Above the 2 GB Limit
As of R2007b, you can addressMWArray
s above the 2 GB limit. This is enabled by definingMX_COMPAT_32_OFF
in yourmbuild
step. This feature will be the default as of R2008a.
This feature changes how theMWArray
C++ Library functions are implemented. For more details, see "Addressing mwArrays Above the 2 GB Limit" in theMATLAB CompilerUser's Guidedocumentation.
New Compiler Option –e
This newmcc
option suppresses the appearance of the MS-DOS command window when generating a standalone application. Use-e
in place of the-m
option. See-e Suppress MS-DOS Command Windowin theMATLAB CompilerUser's Guidedocumentation.
Support for Borland Compilers Removed
Borland compilers are supported in Version 7.5 (R2007b), but will not be supported in a future version of MATLAB. Please prepare and plan accordingly.
Functions Being Removed
The following functions were removed in R2007b:
Function Being Removed | What Happens When You Run the Function? | Use This Instead | Compatibility Considerations |
---|---|---|---|
buildmcr |
Errors | MCRInstaller.exe (Windows),MCRInstaller.bin (UNIX),MCRInstaller.dmg (Mac) |
SeeDistribute MATLAB Code Using the MATLAB Compiler Runtime (MCR)in the MATLAB Compiler User's Guide documentation. |
comtool |
Undefined Function Error | deploytool |
Migrate todeploytool . |
dotnettool |
Undefined Function Error | deploytool |
Migrate todeploytool . |
mxltool |
Undefined Function Error | deploytool |
Migrate todeploytool . |
opennbl |
Undefined Function Error | deploytool |
Migrate todeploytool . |
openmxl |
Undefined Function Error | deploytool |
Migrate todeploytool . |
opencbl |
Undefined Function Error | deploytool |
Migrate todeploytool . |
Support Added for Intel Mac and Solaris 64
Support has been added for the following operating systems:
Intel Mac
Solaris 64-bit
Support Dropped for Solaris 2
Support has been dropped for the Solaris 2 operating system. It has been replaced by support for Solaris 64.
Readme File Added
A readme file containing a customized checklist of deployment prerequisites is now generated in the output folder with each compiled application.
Warning About Future Borland Compiler Support
While still supported in this release, customers should prepare for discontinuance of support for the following Borland compilers:
Borland C++Builder version 6.0
Borland C++Builder version 5.0
Borland C/C++ (free command-line tools) version 5.5
New Compiler Option –F
MATLAB Compiler4.6 includes the-F
option for bothmcc
anddeploytool
. Use this option to feed back a specific project file's settings toMATLAB Compiler. For more information, see theMATLAB Compiler User's Guidedocumentation.
Issues with the Microsoft Windows Vista Operating System
以下是与Windows Vista™已知问题as of this release. To resolve these issues, ensure you are logged in as Administrator.
用户帐户控制(UAC)启用,standard user is not able to write to a folder in the
c:\Program Files
folder. See theMATLAB Release Notesfor more details regarding this issue.用户帐户控制(UAC)启用,standard user is not able to register DLLs. When
mbuild -setup
attempts to registermwcomutil.dll
, the following errors are displayed:Trying to update options file: C:\Users\qe\AppData\Roaming\MathWorks\MATLAB\R2007a\compopts.bat From template: C:\PROGRA~1\MATLAB\R2007a\bin\win64\mbuildopts\msvc80compp.bat Done . . . --> "C:\PROGRA~1\MATLAB\R2007a\bin\win64\mwregsvr C:\PROGRA~1\MATLAB\R2007a\bin\ win64\mwcomutil.dll" Error: DllRegisterServer in C:\PROGRA~1\MATLAB\R2007a\bin\win64\mwcomutil.dll failed Undefined subroutine &mexsetup::expire called at C:\PROGRA~1\MATLAB\R2007a\bin\/ mexsetup.pm line 839.
This is also the case when MATLAB Builder for Excel invokes
mbuild
in an attempt to register DLLs after a compilation completes.The following message is displayed when MATLAB Builder for .NET, attempts to install a DLL into the Global Assembly Cache from a network location:
Unhandled Exception: System.IO.FileLoadException: could not load file or assembly 'GACInstaller, Version=1.0.2568.30711, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418) File name: 'GACInstaller, Version=1.0.2568.30711, Culture=neutral, PublicKeyToken=null' ---> System.Security.Policy.PolicyException: Execution permission cannot be acquired. at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission)
Printing from a compiled application is not currently available with Microsoft Windows Vista. The following message is displayed if you attempt to print on systems with the Microsoft Windows Vista 32-bit operating system installed:
PrintImage Error StartPage failed with error 6: The handle is invalid.
Printing with Vista 64-bit installed results in an error message that lists a manifest as missing. Please check
//www.tianjin-qmedu.com/support/
for updates on these issues.
Support for Java Components
MATLAB Compiler, in conjunction with the optionalMATLAB Builder™JA, lets you convert MATLAB files into Java components.
Deployment Tool Graphical User Interface
As an alternative to themcc
command to invokeMATLAB Compiler, you can invoke the graphical user interface forMATLAB Compilerby issuing the following command at the MATLAB prompt:
deploytool
Use the Deployment Tool to perform the tasks shown in the following conceptual illustration:
Support for .NET Components
This release provides support for a new target, .NET components. With the optional MATLAB Builder for .NET product, you can create both COM components that can be used in native code applications and .NET components that can be used in managed code applications.
MATLAB Compiler, in conjunction with the optional MATLAB Builder for .NET, lets you convert MATLAB files into .NET components that are accessible from any Common Language Specification (CLS)-compliant client code. In addition, you can build Common Object Model (COM) components that are accessible from Visual Basic, C/C++, Microsoft Excel, or any other COM client.
Support forMicrosoft Visual C++Version 8.0
MATLAB Compiler supportsMicrosoft Visual C++Version 8.0 as a third-party compiler. However, if you useMicrosoft Visual C++Version 8.0 to generate applications/components, you must have theMicrosoft Visual Studio2005 run-time libraries available on the computer used for deployment. If you distribute your applications/components, you must make sure that any machine used for deployment has these run-time libraries installed. For more information, seesolution 1–2223MW.
Platform Support
You can useMATLAB Compiler4.3 on the following supported systems to create redistributable, standalone applications or software components. These applications or components can then be deployed to other systems with the same operating system.
Supported Platforms
MATLAB Compiler4.3 is supported on these platforms:
Windows
Linux
Solaris™
HP-UX®
Linux x86-64
Mac OS®X
TheMATLAB Compilerdocumentation has been updated to include configuration information for all the supported platforms.
Platform Support
You can useMATLAB Compiler4.2 on the following supported systems to create redistributable, standalone applications or software components. These applications or components can then be deployed to other systems with the same operating system.
Supported Platforms
MATLAB Compiler4.2 is supported on these platforms:
Windows
Linux
Solaris
HP-UX
Linux x86-64
TheMATLAB Compilerdocumentation has been updated to include configuration information for all the supported platforms.
Compatibility Summary
Release | Features or Changes with Compatibility Considerations |
---|---|
R2016a | None |
R2015aSP1 | None |
R2015b | None |
R2015a | None |
R2014b | None |
R2014a | Faster packaging of compiled applications and libraries |
R2013b | None |
R2013a | None |
R2012b | Support for lcc Compiler To Be Removed |
R2012a | |
R2011b | Functions and Function Elements Being Removed |
R2011a | Functions and Function Elements Being Removed |
R2010bSP1 | None |
R2010b | |
R2010a | None |
R2009bSP1 | None |
R2009b | New Format for Deployment Tool Projects |
R2009a | None |
R2008b | Warning Results When Running Figure-Generating Applications or Printing with -nojvm Flag |
R2008a | |
R2007b | Functions Being Removed |
R2007a | None |
R2006b | None |
R2006a | None |
R14SP3 | None |
R14SP2 | None |
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina(Español)
- Canada(English)
- United States(English)
Europe
- Belgium(English)
- Denmark(English)
- Deutschland(Deutsch)
- España(Español)
- Finland(English)
- France(Français)
- Ireland(English)
- Italia(Italiano)
- Luxembourg(English)
- Netherlands(English)
- Norway(English)
- Österreich(Deutsch)
- Portugal(English)
- Sweden(English)
- Switzerland
- United Kingdom(English)