A MATLAB function for converting .mat files to .csv files
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
A MATLAB function for converting .mat files to .csv files.
This function reads data from a filename.mat file, converts the data to one cell array and writes the cell array to a filename.csv file within same directory. If filename.csv exists it will be overwritten, otherwise a new filename.csv file will be created.
mat2csv("/home/user/data/measurement01.mat");
- Data fields within .mat file need to be vector shaped.
- Can handle mixed types of data within the .mat file due to cell conversion.
- Cell conversion and writing cell arrays takes time, especially for large files! There might be faster solutions - e.g. if the .mat file only contains numerical data.
- example.m file contains a small usage example.
Cite As
Joshua Bauske (2026). mat2csv (https://github.com/TheHotChilli/mat2csv/releases/tag/0.1.1), GitHub. Retrieved .
General Information
- Version 0.1.1 (3.02 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 0.1.1 | See release notes for this release on GitHub: https://github.com/TheHotChilli/mat2csv/releases/tag/0.1.1 |
||
| 0.1.0 |
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.
