See other catalogues for
The MathWorks
You may also be interested in
Text version of the page
| | | | | | | | | | | | | | | | | | | | | | | | |
| | | |
| | | matGetVariable (C and Fortran) | | |
| | | |
| | | Purpose CSyntax Fortran Syntax Arguments | | |
| | | Read mxArray from MAT-files #include "mat.h" mxArray *matGetVariable(MATFile *mfp, const char *name); | | |
| | | |
| | | mwPointer matGetVariable(mfp, mwPointer mfp character*(*) name | | name) | | |
| | | |
| | | |
| | | mfp | | |
| | | |
| | | |
| | | PointertoMAT-fileinformation | | |
| | | |
| | | name Name of mxArray to get from MAT-file A pointer to a newly allocated mxArray structure representing the mxArray named by name from the MAT-file pointed to by mfp. matGetVariable returns NULL in C (0 in Fortran) if the attempt to return the mxArray named by name fails. This routine allows you to copy an mxArray out ofa MAT-file. Use mxDestroyArray to destroy the mxArray created by this routine when you are finished with it. 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. matPutVariable, mxDestroyArray | | |
| | | Returns | | |
| | | |
| | | Description C Examples See Also | | |
| | | |
| | | |
| | | 2-31 | | |
| | | |
| | | | | | | | | | | | | | | | | | | | | | | | |