Using the C Math Library | ![]() ![]() |
Verifying a PC Installation
When installing a C compiler to use in conjunction with the Math Library, install both the DOS and Windows targets and the command line tools.
The C Math Library installation adds
<matlab>
\bin
to your $PATH
environment variable, where <matlab>
symbolizes the MATLAB root directory. The bin
directory contains the DLLs required by stand-alone applications. After installation, reboot your machine.
To verify that the MATLAB C Math Library has been installed correctly, build one of the example programs distributed with the library. You can find the example programs in the <matlab>\extern\examples\cmath
directory, where <matlab>
is your root MATLAB installation directory. See ``Building Stand-Alone C Applications'' to learn how to build the example programs using the mbuild
command.
You can spot check the installation by checking for the file matlab.h
in <
matlab
>\extern\include
and libmmfile.dll
, libmatlb.dll
, and libmcc.dll
in <matlab>
\bin.
![]() | Verifying a UNIX Installation | Writing and Building Programs | ![]() |