External Interfaces |
Include Files
The include
directory holds header files containing function declarations with prototypes for the routines that you can access in the API Library. These files are the same for both Windows and UNIX. Included in the subdirectory are:
matrix.h
, the header file that defines MATLAB array access and creation methods
mat.h
, the header file that defines MAT-file access and creation methods
Libraries
The subdirectory that contains shared (dynamically linkable) libraries for linking your programs is platform dependent.
Shared Libraries on Windows. The bin
subdirectory contains the shared libraries for linking your programs:
libmat.dll
library of MAT-file routines (C and Fortran)
libmx.dll
library of array access and creation routines
libut.dll
library of utility routines
Shared Libraries on UNIX. The extern/lib/$arch
subdirectory, where $arch
is your machine's architecture, contains the shared libraries for linking your programs. For example, on sol2
, the subdirectory is extern/lib/sol2
:
libmat.so
library of MAT-file routines (C and Fortran)
libmx.so
library of array access and creation routines
libut.so
library of utility routines
Example Files
The examples/eng_mat
subdirectory contains C and Fortran source code for a number of example files that demonstrate how to use the MAT-file routines. The source code files are the same for both Windows and UNIX.
For additional information about the MATLAB API files and directories, see Additional Information.
Writing Character Data | Examples of MAT-Files |
© 1994-2005 The MathWorks, Inc.