User`s guide
Microsoft Windows on PCs
2-15
Note Although the MATLAB Compiler supports the creation of stand-alo ne
C++ applications, it does not support the creati on of C++ M EX-files.
Supported ANSI C and C++ PC Compilers
To create C MEX-files, stand-alone C/C++ applications, or dynamically linked
libraries (DLLs) with the MATLAB Compiler, you must install and configure a
supported C/C++ compiler. Use one of the following 32-bit C/C++ compilers
that create 32-bit Windows dynamically linked libraries (DLLs) or Windows
NT applications:
•Lcc C version 2.4 (included with MATLAB)
•Watcom C/C++ versions 10.6 & 11.0
•Borland C++ versions 5.0, 5.2, 5.3, 5.4, & 5.5
•Microsoft Visual C++ (MSVC) versions 5.0 & 6 .0
Note For a lis t o f all the com pile rs s u ppo rte d by MATLAB, see the
MathWorks Technical S upport Department’s Te chnical Notes at:
http://www.mathworks.com/support/tech-notes/v5/1600/1601.shtml
To create s tand- alo ne applicatio ns or D LL s, you also ne ed the M ATLAB C/C++
Math Library, which is sold separately. Also, if your applications use Handle
Graphics, you will need the MATLAB C/C++ Graphics Library, which is sold
separately.
Applications ge nera te d by the MATLAB Comp ile r are 32-bit applicat io ns and
only run on Windows 95/98/200 0 and Windows N T systems.
Known Compiler Limitations. There are several known restrictions regarding the
use of supported compilers:
•Some compilers, e.g., Watcom, do not handle denormalized floating-point
valuescorrectly.Denormalized floating-pointnumbersare numberst hat are
greater than 0 and less than the value of
DBL_MIN in your compiler’s float.h
file.