logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Mat_GetFileAccessMode — Returns the file access mode of a MATLAB MAT file given a MAT file structure.

Description

       The Mat_GetFileAccessMode() function returns the file access mode of the MATLAB MAT file given by the MAT
       file structure.

Name

       Mat_GetFileAccessMode — Returns the file access mode of a MATLAB MAT file given a MAT file structure.

Return Values

       The return value is one of the following:

       MAT_ACC_RDONLY if the file is opened with read-only access or not opened at all.

       MAT_ACC_RDWR if the file is opened with read/write access.

See Also

Mat_CreateVer(3), Mat_Open(3), Mat_GetFilename(3), Mat_GetHeader(3)

Debian                                          November 20, 2023                       MAT_GETFILEACCESSMODE(3)

Synopsis

#include<matio.h>enummat_accMat_GetFileAccessMode(constmat_t*matfp);

See Also