External Interfaces |
Compiling and Linking Engine Programs
This section describes the steps required to compile and link engine programs. These steps are the same on both UNIX and Windows systems, except where noted. The main steps are
The following examples illustrate this process:
Step 1 -- Write Your Application
Write your main application in the C or Fortran Language, using any of the MATLAB Engine routines to perform computations in MATLAB. See the previous two sections on Using the MATLAB Engine and Examples of Calling Engine Functions for help.
Note If you plan to build with the Borland C++ compiler on Windows, read the section on Masking Floating-Point Exceptions to avoid program termination when a floating-point exception occurs. |
Attaching to an Existing MATLAB Session | Step 2 -- Check Required Libraries and Files |
© 1994-2005 The MathWorks, Inc.