DOKK / manpages / debian 12 / libmatio-doc / Mat_VarGetSize.3.en
MAT_VARGETSIZE(3) Library Functions Manual MAT_VARGETSIZE(3)

Mat_VarGetSizeCalculates the size of a MAT variable in bytes.

#include <matio.h>

size_t
Mat_VarGetSize(matvar_t *matvar);

The () function calculates the size of a MAT variable matvar in bytes similar to the MATLAB whos command.

The function returns the number of bytes.

October 20, 2017 Debian