libmatio
« Back to VersTracker
Description:
C library for reading and writing MATLAB MAT files
Type: Formula  |  Latest Version: 1.5.29@1  |  Tracked Since: Nov 10, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: matlab c-library data-format scientific-computing interoperability
Install: brew install libmatio
About:
libmatio is a C library designed for reading and writing MATLAB MAT files, enabling interoperability between C applications and MATLAB environments. It supports both version 5 and the newer HDF5-based MAT file formats, providing a robust solution for data exchange. This library is essential for integrating C/C++ programs with MATLAB-based scientific computing workflows.
Key Features:
  • Supports both MATLAB v5 and HDF5-based MAT file formats
  • No external dependencies required for core functionality
  • Provides a simple, high-level API for easy integration
  • Cross-platform compatibility (Linux, macOS, Windows)
Use Cases:
  • Integrating C/C++ simulation data with MATLAB for visualization
  • Reading MATLAB data files in non-MATLAB environments
  • Developing high-performance data processing pipelines that interface with MATLAB
Alternatives:
  • SciPy (scipy.io.loadmat) – Python-based solution; requires a Python environment, whereas libmatio is a lightweight C library.
  • MATLAB Coder – Generates C code from MATLAB code; more complex and requires a MATLAB license, unlike the standalone libmatio.
Version History
Detected Version Rev Change Commit
Jan 22, 2026 1:07am 1 REVISION_ONLY 998ba76e
Nov 10, 2025 11:12pm 0 VERSION_BUMP 6eeebc0e
Sep 11, 2025 12:18pm 0 VERSION_BUMP da87c293
Oct 30, 2024 10:53pm 0 VERSION_BUMP 6b63e115
Oct 30, 2024 9:42pm 0 VERSION_BUMP 688f2727
Sep 27, 2024 10:13am 1 VERSION_BUMP 834a9b11