Scroll to navigation

MAT_VARREADDATAALL(3) Library Functions Manual MAT_VARREADDATAALL(3)

NAME

Mat_VarReadDataAll — Reads all data for a MAT variable.

SYNOPSIS

#include <matio.h>

int
Mat_VarReadDataAll(mat_t *mat, matvar_t *matvar);

DESCRIPTION

The () function allocates and reads the complete data payload for matvar from the MAT file mat. On success, matvar is populated with the loaded data.

RETURN VALUES

The function returns 0 on success. Otherwise, a matio error code is returned.

SEE ALSO

Mat_VarRead(3), Mat_VarReadData(3), Mat_VarReadInfo(3)

April 23, 2026 Nixpkgs