This function reads a MATLAB .mat
file using a Python function via reticulate
.
Details
Python must be installed to use this function. The required python packages can be installed in a virtual environment using ifcb_py_install()
.
This function requires a python interpreter to be installed.
The required python packages can be installed in a virtual environment using ifcb_py_install()
.
Examples
if (FALSE) { # \dontrun{
# Initialize Python environment and install required packages
ifcb_py_install()
# Example .mat file included in the package
mat_file <- system.file("exdata/example.mat", package = "iRfcb")
# Read mat file using Python
data <- ifcb_read_mat(mat_file)
} # }