Mat_VarGetStructFieldnames(3) Get the fieldnames of a structure variable.

SYNOPSIS

Fd #include <matio.h> Ft char * const * Fo Mat_VarGetStructFieldnames Fa const matvar_t *matvar Fc

DESCRIPTION

The Fn Mat_VarGetStructFieldnames function returns the fieldnames of the structure variable Fa matvar.

RETURN VALUES

An array of fieldnames is returned of the variable is a valid structure variable. Otherwise NULL is returned. The Mat_VarGetNumberOfFields function returns the number of fields for the structure.