NAME
Mat_VarFree – Frees a MAT variable structure.
SYNOPSIS
#include <matio.h>
void
Mat_VarFree(matvar_t *matvar);
DESCRIPTION
The Mat_VarFree() 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.