MAT_VARGETNUMBEROFFIE... BSD Library Functions Manual MAT_VARGETNUMBEROFFIE...NAMEMat_VarGetNumberOfFields — Get the number of fields for a structure vari‐
able.
SYNOPSIS
#include <matio.h>
unsigned
Mat_VarGetNumberOfFields(const matvar_t *matvar);
DESCRIPTION
The Mat_VarGetNumberOfFields() function returns the number of fields for
the structure variable matvar.
RETURN VALUES
The number of fields will be returned on success, and 0 otherwise. Note
also that a structure can validly contain 0 fields.
SEE ALSOMat_VarGetStructFieldnames(3)BSD March 18, 2012 BSD