Read and write MAT files from Java
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The MAT File Library (MFL) is a Java library for reading and writing MAT Files that are compatible with MATLAB’s MAT-File Format.
It’s overall design goals are:
* to provide a user-friendly API that adheres to MATLAB’s semantic behavior
* to support working with large amounts of data on heap constrained or allocation limited environments
* to allow users to serialize custom data classes without having to convert to temporary objects
MFL is full featured and supports reading all known MAT files. This includes Figure files, Simulink models, as well as files with reference types such as table or string.
Additional features include:
* Fluent API
* Advanced Filtering
* Concurrent Compression
* Custom Compression Levels
* Incremental writing and appending to existing files
* Serialization of custom classes
* Memory-Mapped storage for large matrices
* Custom Buffer Pooling
* Direct serialization of EJML matrix types
For more information please take a look at the README on Github: https://github.com/HebiRobotics/MFL
Cite As
Florian Enner (2026). MAT File Library (https://uk.mathworks.com/matlabcentral/fileexchange/70357-mat-file-library), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Biot savart Law
General Information
- Version 0.5.2 (624 KB)
MATLAB Release Compatibility
- Compatible with R11.1 and later releases
Platform Compatibility
- Windows
- macOS
- Linux
