1MAT_GETFILEACCESSMODE(3) BSD Library Functions Manual MAT_GETFILEACCESSMODE(3)
2
4 Mat_GetFileAccessMode — Returns the file access mode of a MATLAB MAT file
5 given a MAT file structure.
6
8 #include <matio.h>
9
10 enum mat_acc
11 Mat_GetFileAccessMode(mat_t *matfp);
12
14 The Mat_GetFileAccessMode() function returns the file access mode of the
15 MATLAB MAT file given by the MAT file structure.
16
18 The return value is one of the following:
19
20 • MAT_ACC_RDONLY if the file is opened with read-only access or not
21 opened at all.
22
23 • MAT_ACC_RDWR if the file is opened with read/write access.
24
26 Mat_CreateVer(3), Mat_Open(3), Mat_GetFilename(3), Mat_GetHeader(3)
27
28BSD October 18, 2023 BSD