Automic VaultAutomic Vault

brew

Install libmatio with Homebrew, apt, pacman

C library for reading and writing MATLAB MAT files. Version 1.5.30 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libmatio

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install libmatio-dev

Debian stable package indexes · libmatio-dev · source: deb.debian.org

Arch Linux pacmanverified · 92%
sudo pacman -S libmatio

Arch Linux sync databases · libmatio · source: geo.mirror.pkgbuild.com

overview

Package summary

C library for reading and writing MATLAB MAT files

Commands and aliases

  • matdump

history

Project history and usage

MATIO is a small C library for reading and writing MATLAB MAT files without linking an application to MATLAB itself. In package-manager terms it fills the unglamorous but important role of letting scientific and engineering tools exchange .mat data in batch jobs, converters, bindings, and libraries.

Project history

The project is hosted on SourceForge and its documentation describes MATIO as an open-source C library for binary MATLAB MAT files. The README explains the practical motivation: programs and libraries may need MAT-file access even when they do not have MATLAB or do not want to depend on MATLAB shared libraries.

MATIO evolved around the details of MATLAB's changing file formats, especially the older v4/v5 formats and HDF5-backed MAT files. Later release notes show continuing work on HDF5 compatibility, Unicode filenames, large files, CMake support, security fixes for crafted files, and the matdump command-line utility.

Adoption history

MATIO's adoption is mostly invisible infrastructure: it appears as libmatio or libmatio-dev in Unix package managers and is useful to projects that need MAT-file interchange rather than a full MATLAB runtime. The project's own acknowledgements name contributors and users from numerical, simulation, and scientific software communities, including Scilab, OpenMEEG, Nelson, and the Modelica Association.

For Homebrew users, libmatio provides the library and matdump executable as a normal formula, which makes MATLAB data inspection and conversion available in scripts on macOS and Linux without installing a larger scientific stack.

How it is used

Developers use MATIO through its C API to open MAT files, inspect variables, and read or write arrays and metadata. The matdump utility gives package users a quick command-line way to examine MAT-file contents.

The package is especially useful around mixed MATLAB, Octave, Scilab, Python, C, and Fortran workflows where .mat files are the interchange format but the producer and consumer are not both MATLAB.

Why package nerds care

MATIO is a classic package-nerd dependency: few users install it for its own interface, but many scientific packages need the capability it provides. It turns a proprietary application's file format into a portable Unix library dependency.

Its maintenance history also shows why small file-format libraries matter: release notes repeatedly mention bounds checks, CVEs, HDF5 compatibility, and build-system portability, all of which affect downstream scientific tools more than end-user headlines.

Timeline

  • 2000s: MATIO becomes a SourceForge-hosted C library for MATLAB MAT-file I/O.
  • 2018: MATIO 1.5.12 adds append support for struct arrays in HDF5 MAT files and fixes character-array handling.
  • 2020: MATIO 1.5.18 adds CMake support and updates HDF5 and Windows filename handling.
  • 2022: MATIO 1.5.22 adds support for reading large MAT files and fixes crafted-file heap overflows.
  • 2026: MATIO 1.5.30 is released with const-correctness changes, a Mat_VarCreateStruct deprecation, and memory-leak fixes.

Related projects

  • MATLAB and GNU Octave are the main ecosystems that make MAT files a common interchange target.
  • HDF5 is important for newer MAT-file variants and appears repeatedly in MATIO release notes.
  • JMatIO and MAT-file I/O libraries for LabVIEW cover similar interchange needs in other language or tool ecosystems.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
matdumpcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.5.30
manager updated2026-06-22
local dataok
upstreamnot checked
latest detectednot detected

https://matio.sourceforge.net/

install metadata

Package metadata

Package keybrew:libmatio
Version1.5.30
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/libmatio
Homepagehttps://matio.sourceforge.net/
Repositoryhttps://sourceforge.net/p/matio/matio
Upstream docshttps://matio.sourceforge.net/
LicenseBSD-2-Clause
Source archivehttps://downloads.sourceforge.net/project/matio/matio/1.5.30/matio-1.5.30.tar.gz
Last updated2026-06-22T14:05:19-07:00
Pulseupdated
Dependencieshdf5
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibmatio
Version Scheme0
Revision1
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libmatio-dev 1.5.28-2

MATLAB MAT File I/O Library - development files

https://sourceforge.net/projects/matio

sudo apt install libmatio-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libmatio
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libmatio
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmatio-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmatio-doc 1.5.28-2

MATLAB MAT File I/O Library - documentation files

https://sourceforge.net/projects/matio

sudo apt install libmatio-doc
  • Section: doc
  • Architecture: all
  • Source Package: libmatio
  • normalized package name match
  • Matched by: Libmatio
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmatio-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmatio13 1.5.28-2

MATLAB MAT File I/O Library - shared library

https://sourceforge.net/projects/matio

sudo apt install libmatio13
  • Section: libs
  • Architecture: amd64
  • Source Package: libmatio
  • 3 dependencies
  • normalized package name match
  • Matched by: Libmatio
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmatio13 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

matio-tools 1.5.28-2

MATLAB MAT File I/O Library - command-line tools

https://sourceforge.net/projects/matio

sudo apt install matio-tools
  • Section: math
  • Architecture: amd64
  • Source Package: libmatio
  • 2 dependencies
  • normalized package name match
  • Matched by: Libmatio
Debian stable package indexes · deb.debian.org · Debian stable package indexes: matio-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

libmatio-dev 1.5.26-1build3

MATLAB MAT File I/O Library - development files

https://sourceforge.net/projects/matio

sudo apt install libmatio-dev
  • Section: universe/libdevel
  • Architecture: amd64
  • Source Package: libmatio
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Libmatio
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmatio-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmatio-doc 1.5.26-1build3

MATLAB MAT File I/O Library - documentation files

https://sourceforge.net/projects/matio

sudo apt install libmatio-doc
  • Section: universe/libs
  • Architecture: all
  • Source Package: libmatio
  • normalized package name match
  • Matched by: Libmatio
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmatio-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

libmatio11 1.5.26-1build3

MATLAB MAT File I/O Library - shared library

https://sourceforge.net/projects/matio

sudo apt install libmatio11
  • Section: universe/libs
  • Architecture: amd64
  • Source Package: libmatio
  • 3 dependencies
  • normalized package name match
  • Matched by: Libmatio
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmatio11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

matio-tools 1.5.26-1build3

MATLAB MAT File I/O Library - command-line tools

https://sourceforge.net/projects/matio

sudo apt install matio-tools
  • Section: universe/math
  • Architecture: amd64
  • Source Package: libmatio
  • 2 dependencies
  • normalized package name match
  • Matched by: Libmatio
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: matio-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
pacman95%

libmatio 1.5.30-1

C library with a fortran 90/95 module interface for reading/writing MATLAB MAT-files

https://sourceforge.net/projects/matio

sudo pacman -S libmatio
  • License: BSD-2-Clause
  • Architecture: x86_64
  • 3 dependencies
  • normalized package name match
  • Matched by: Libmatio
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: libmatio from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment