DOKK / manpages / debian 10 / libmatio-doc / Mat_VarFree.3.en
MAT_VARFREE(3) Library Functions Manual MAT_VARFREE(3)

Mat_VarFreeFrees a MAT variable structure.

#include <matio.h>

void
Mat_VarFree(matvar_t *matvar);

The () function free's the memory used by a MAT variable structure. If the variable was not created with the MAT_F_DONT_COPY_DATA flag, the variable data is also free'd.

Mat_VarCreate(3), Mat_VarCreateStruct(3)

March 18, 2012 Debian