Mat_GetFileAccessMode3
Returns the file access mode of a matlab mat file given a mat file structure.
Usage
#include <matio.h>
enum mat_acc
Mat_GetFileAccessMode(const mat_t *matfp);
Overview
The Mat_GetFileAccessMode() function returns the file access mode of the MATLAB MAT file given by the MAT file structure.
Return values
The return value is one of the following:
-
MAT_ACC_RDONLYif the file is opened with read-only access or not opened at all. -
MAT_ACC_RDWRif the file is opened with read/write access.
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.