External Interfaces/API    

Compiling and Linking on Windows

To compile and link engine programs, use the mex script with an engine options file. Table 1-2, Options Files, lists the engine options files included in this release. All of these options files are located in <matlab>\bin\win32\mexopts.

As an example, to compile and link the stand-alone engine application engwindemo.c on Windows using MSVC (Version 5.0), use

where <pathname> specifies the complete path to the specified file. If you need to modify the options file for your particular compiler, use the -v switch to view the current compiler and linker settings and then make the appropriate changes in the options file.


  Compiling and Linking on UNIX Calling Java from MATLAB