External Interfaces Reference Previous page   Next Page
matGetVariable

Read mxArrays from MAT-files

Fortran Syntax

Arguments

mfp
   Pointer to MAT-file information.

name
   Name of mxArray to get from MAT-file.

Description

This routine allows you to copy an mxArray out of a MAT-file.

matGetVariable reads the named mxArray from the MAT-file pointed to by mfp and returns a pointer to a newly allocated mxArray structure, or 0 if the attempt fails.

Be careful in your code to free the mxArray created by this routine when you are finished with it.


Previous page  matGetString (Obsolete) matGetVariableInfo Next page

© 1994-2005 The MathWorks, Inc.