MAT File Library

Read and write MAT files from Java

https://github.com/HebiRobotics/MFL

You are now following this Submission

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

MATLAB Release Compatibility

  • Compatible with R11.1 and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
0.5.2

Extended description. version had to increment to 0.5.2, but library is still 0.5.1

0.5.1