Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert .mat file to R-compliant file

Tags:

r

matlab

I am in the need of converting a MATLAB .mat file in something that can be read from R. Do you know some tools that can be used to perform such operation?

The .mat file contains cell matrices and struct matrices.

like image 955
Andrea Avatar asked Feb 03 '26 03:02

Andrea


1 Answers

In recent releases, ".mat" files in Matlab are saved using the HDF5 format that you can read in R with the package hdf5

like image 73
Clement J. Avatar answered Feb 04 '26 15:02

Clement J.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!