Mat_VarGetSize(3)

Mat_VarGetSize3

Calculates the size of a mat variable in bytes.

Usage

#include <matio.h>

size_t

Mat_VarGetSize(const matvar_t *matvar);

Overview

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.

Releases

5 releases since Debian 10 (Buster); the text changed 4 times.

  1. 10
  2. 11
  3. 12
  4. 13
  5. Arch

From libmatio 1.5.30-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.