MAT_GETDIR(3) Library Functions Manual MAT_GETDIR(3)

Mat_GetDirReturns a list of the variable names of a MATLAB MAT file given a MAT file structure

#include <matio.h>

char * const *
Mat_GetDir(mat_t *matfp, size_t *n);

The () function returns a list of the variable names of a MATLAB MAT file given the MAT file structure. The output argument n holds the number of variables of the MATLAB MAT file.

The function returns a read-only list of the variable names of a MATLAB MAT file.

April 24, 2024 Linux 6.11.5-arch1-1