External Interfaces Previous page   Next Page

Example -- Building an Engine Application on UNIX

MATLAB provides a demonstration program written in the C language that you can use to verify the build process on your computer. The demo file for UNIX systems is called engdemo.c.

Copy the C language MEX-file engdemo.c to your current working directory:

Build the executable file using the ANSI compiler for Engine stand-alone programs and the options file engopts.sh:

Verify that the build worked by looking in your current working directory for the file engdemo:

To run the demo in the MATLAB Command Window, first make sure your current working directory is set to the one in which you built the executable file, and then type


Previous page  Step 6 -- Test Out the Program Example -- Building an Engine Application on Windows Next page

© 1994-2005 The MathWorks, Inc.