pkg.sopackage field notes

brew / 排名 938

使用 Homebrew 安装 libmatio

查看 libmatio 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install libmatio

provider-native install command

概览

软件包摘要

C library for reading and writing MATLAB MAT files

命令和别名

  • matdump

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
matdump可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.5.30
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:libmatio
版本1.5.30
软件包管理器Homebrew
主页https://matio.sourceforge.net/
Bottle未记录
服务未声明

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation