Mat_VarGetNumberOfFields(3)

Mat_VarGetNumberOfFields3

Gets the number of fields for a structure variable.

Usage

#include <matio.h>

unsigned

Mat_VarGetNumberOfFields(const matvar_t *matvar);

Overview

The Mat_VarGetNumberOfFields() function returns the number of fields for the structure variable matvar.

Return values

The number of fields will be returned on success, and 0 otherwise. Note also that a structure can validly contain 0 fields.

Releases

6 releases since Debian 9 (Stretch); the text changed 5 times.

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

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