MATLAB Compiler    

Verifying mbuild

There is C source code for an example, ex1.c, included in the <matlab>\extern\examples\cmath directory, where <matlab> represents the top-level directory where MATLAB is installed on your system. To verify that mbuild is properly configured on your system to create stand-alone applications, enter at the MATLAB prompt

This creates the file called ex1.exe. Stand-alone applications created on Windows 98/2000/Me or Windows NT always have the extension exe. The created application is a 32-bit MS-DOS console application.

Shared Libraries

All the libraries (WIN32 Dynamic Link Libraries, or DLLs) for MATLAB, the MATLAB Compiler, and the MATLAB Math Library are in the directory

The .DEF files for the Microsoft and Borland compilers are in the <matlab>\extern\include directory. All of the relevant libraries for building stand-alone applications are WIN32 Dynamic Link Libraries. Before running a stand-alone application, you must ensure that the directory containing the DLLs is on your path. The directory must be on your operating system $PATH environment variable. On Windows NT, use the Control Panel to set the value.

Running Your Application

You can now run your stand-alone application by launching it from the DOS command line. For example:


  Preparing to Compile Verifying the MATLAB Compiler