External Interfaces Reference Previous page   Next Page
matGetFp

Get file pointer to MAT-file

C Syntax

Arguments

mfp
   Pointer to MAT-file information.

Description

matGetFp returns the C file handle to the MAT-file with handle mfp. This can be useful for using standard C library routines like ferror() and feof() to investigate error situations.

Examples

See matcreat.c and matdgns.c in the eng_mat subdirectory of the examples directory for sample programs that illustrate how to use the MATLAB MAT-file routines in a C program.


Previous page  matGetDir matGetFull (Obsolete) Next page

© 1994-2005 The MathWorks, Inc.