MATLAB Application Program Interface Reference Help Desk

matGetArrayHeader

Purpose

Load array header information only

C Syntax

Arguments

mfp

Pointer to MAT-file information.

name

Name of mxArray.

Description

matGetArrayHeader loads only the array header information, including everything except pr, pi, ir, and jc. It recursively creates the cells/structures through their leaf elements, but does not include pr, pi, ir, and jc. If pr, pi, ir, and jc are set to non-NULL when loaded with matGetArray, matGetArrayHeader sets them to -1 instead. These headers are for informational use only and should NEVER be passed back to MATLAB or saved to MAT-files.

Example

See matdemo.c in the eng_mat subdirectory of the examples directory for a sample program that illustrates how to use the MATLAB MAT-file routines in a C program.



[ Previous | Help Desk | Next ]