read_mat: Read a Matlab file 'read_mat()' can read Matlab files

View source: R/readmat.R

read_matR Documentation

Read a Matlab file read_mat() can read Matlab files

Description

Read a Matlab file

read_mat() can read Matlab files

Usage

read_mat(file, names = FALSE)

Arguments

file

A path to a file. Files ending with .mat.

names

Include names of matlab objects (default = FALSE).

Value

A vector or array with up to 3 dimensions.

Examples

# Use \code{get_matlab()} to access the examples bundled with this package

# Read Matlab file with one object
## Not run: read_mat(get_matlab("double-vec.mat"))

# Read Matlab file with multiple objects
## Not run: read_mat(get_matlab("multi-object.mat"))


MartinSchobben/readmat documentation built on May 22, 2022, 11:44 a.m.