MATLAB Compiler | ![]() ![]() |
Upgrading from Previous Versions of the Compiler
MATLAB Compiler 3.0 is fully compatible with previous releases of the Compiler. If you have your own 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.
Upgrading from MATLAB Compiler 2.0/2.1/2.2/2.3
MATLAB Compiler 2.1 (and later versions) does not support the -V1.2
option that was available in Compiler 2.0.
Upgrading from 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 the MATLAB 6 and 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 | ![]() |