Mat file header utilities

Utility functions for reading and writing .mat file headers
412 Downloads
Updated 21 Dec 2012

View License

Example usage:

addpath('src')
import edu.stanford.covert.io.editMatFileHeader;
import edu.stanford.covert.io.readMatFileHeader;

[timestamp, platform, version] = readMatFileHeader(matFileName);
editMatFileHeader(matFileName, timestamp, platform, version);

Cite As

Jonathan Karr (2025). Mat file header utilities (https://se.mathworks.com/matlabcentral/fileexchange/39566-mat-file-header-utilities), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Workspace Variables and MAT Files in Help Center and MATLAB Answers
Tags Add Tags
Acknowledgements

Inspired: fireFly

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0