Mat_VarGetNumberOfFields - Man Page
Gets the number of fields for a structure variable.
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 Also
Referenced By
Mat_VarGetStructFieldnames(3).
November 20, 2023