SysTutorials

Linux Manual Pages › Section 3

mat_varfree(3)

Mat_VarFree – Free a MAT variable structure

Synopsis

Fd #include <matio.h> Ft void Fo Mat_VarRead Fa matvar_t *matvar Fc

Description

The Fn Mat_VarFree function free’s the memory used by a MAT variable structure. If the variable was no created with the MAT_F_DONT_COPY_DATA flag, the variable data is also free’d.

See Also

Mat_VarCreate3, Mat_VarCreateStruct3