Main Content

Custom Build with MEX Script Options

The米exbuild script is sufficient for building MEX files. Following are reasons that you might need more detailed information:

  • You want to use an Integrated Development Environment (IDE), rather than the provided script, to build MEX files.

  • You want to exercise more control over the build process than the script uses.

Use the米ex -v -noptions to display the build commands to configure an IDE. You can also use the米exscript options to modify the build steps.

Include Files

Header files for the MATLAB®API (MEX files, engine, and MAT-files). These files are in the米atlabroot\extern\includefolder.

  • 米atrix.h— C/C++ header file containing a definition of the米xArraystructure and function prototypes for matrix access routines.

  • 米ex.h— Header file for building C/C++ MEX files. Contains function prototypes for米exroutines.

  • engine.h— C/C++ header file for MATLAB engine programs. Contains function prototypes for engine routines.

  • 米at.h— C/C++ header file for programs accessing MAT-files. Contains function prototypes for米atroutines.

  • fintrf.h— Header file for building Fortran MEX files. Contains function prototypes for米exroutines.

See Also

Related Topics