Mat_GetFileAccessMode(3)

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_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.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From libmatio 1.5.30-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.