1MAT_VARGETNUMBEROFFIE... BSD Library Functions Manual MAT_VARGETNUMBEROFFIE...
2
4 Mat_VarGetNumberOfFields — Gets the number of fields for a structure
5 variable.
6
8 #include <matio.h>
9
10 unsigned
11 Mat_VarGetNumberOfFields(matvar_t *matvar);
12
14 The Mat_VarGetNumberOfFields() function returns the number of fields for
15 the structure variable matvar.
16
18 The number of fields will be returned on success, and 0 otherwise. Note
19 also that a structure can validly contain 0 fields.
20
22 Mat_VarGetStructFieldnames(3)
23
24BSD March 18, 2012 BSD