Mat_VarGetSize(3)

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

Section 3 libmatio-doc bookworm source

Description

MAT_VARGETSIZE(3) Library Functions Manual MAT_VARGETSIZE(3)

NAME

Mat_VarGetSize — Calculates the size of a MAT variable in bytes.

SYNOPSIS

#include <matio.h>

size_t

Mat_VarGetSize(matvar_t *matvar);

DESCRIPTION

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

RETURN VALUES

The function returns the number of bytes. GNU October 20, 2017 MAT_VARGETSIZE(3)