MATLAB Compiler | ![]() ![]() |
Upgrading from Previous Versions
MATLAB Compiler 2.0
The MATLAB Compiler 2.1 does not support the -V1.2
option that was available in Compiler 2.0.
Compatibility
The MATLAB Compiler 2.1 is fully compatible with previous releases of the Compiler. If you have M-files that were compiled with a previous version of the Compiler and compile them with the new version, you will get the same results.
Installation
The MATLAB 6 (Release 12) installer automatically installs Compiler 2.1. Once you install and configure Compiler 2.1, you can compile your M-files from either the MATLAB prompt or the DOS or UNIX command line. For more information about installation, see Chapter 2, Installation and Configuration.
MATLAB Compiler 1.0/1.1
In many cases, M-code that was written and compiled in MATLAB 4.2 will work as is in MATLAB 6 as well as the MATLAB 5 series. There are, however, certain changes that could impact your work, especially if you integrated Compiler-generated code into a larger application.
Changed Library Name
Beginning with MATLAB 5.0, the name of the shared library that contains compiled versions of most MATLAB M-file math routines, libtbx
, has changed. The new library is now called libmmfile
.
Changed Data Type Names
In C, beginning with MATLAB 5.0, the name of the basic MATLAB data type, Matrix
, has changed. The new name for the data type is mxArray
.
In C++, beginning with MATLAB 5.0, the name of the basic MATLAB data type, mwMatrix
, has changed. The new name for the data type is mwArray
.
![]() | Why Compile M-Files? | Limitations and Restrictions | ![]() |