Using the C++ Math Library |
 |
Installing Your C++ Compiler
To use the MATLAB C++ Math Library, you need to have a C++ compiler installed on your system. If you are having trouble installing your C++ compiler or getting it to work properly, please contact the manufacturer of that compiler.
The technical support number for each compiler vendor is listed in the documentation for each compiler. Many compiler vendors also have home pages on the World-Wide Web; in particular, Borland, Microsoft, and Watcom. Contact them at www.borland.com
, www.microsoft.com
, and www.watcom.com
respectively.
Note
The MATLAB C++ Math Library makes use of both templates and exceptions. Make sure that your compiler supports these C++ language features. If it does not support templates, you can't use the MATLAB C++ Math Library. |
Compiler Configuration on Microsoft Windows
This table provides information regarding the installation and configuration of a C++ compiler on your system.
Description
|
Comment
|
Installation options
|
We recommend that you do a full installation of your compiler. If you do a partial installation, you might omit a component that the MATLAB C++ Math Library relies on.
|
Installing DGB files
|
For the purposes of the MATLAB C++ Math Library, it is not necessary to install DBG (debugger) files. However, you may need them for other purposes.
|
MFC
|
MFC (Microsoft Foundation Classes) are not required.
|
16-bit DLL/executables
|
Not required.
|
ActiveX
|
Not required.
|
Running from the command line
|
Make sure you select all relevant options for running your compiler from the command line.
|
Updating the registry
|
If your installer gives you the option of updating the registry, you should let it do so.
|
Recording the root directory of your C/C++ compiler
|
Record the complete path to where your C/C++ compiler has been installed, for example, C:\devstudio .
|
| Verifying a PC Installation | | Building C++ Applications |  |