File I/O for Cell Arrays
Version 1.0.0.0 (2.33 KB) by
Kamil Wojcicki
Wrappers for reading and writing text between files and cell arrays.
Provides simple I/O routines, file2cell and cell2file, for reading an ASCII text file to a cell array of strings (one line per cell element) and writing a cell array of strings (columnwise) to an ASCII file, respectively. The routines can be easily extended with regular expressions to add extra functionality, f.e., to remove empty lines, etc.
Cite As
Kamil Wojcicki (2026). File I/O for Cell Arrays (https://uk.mathworks.com/matlabcentral/fileexchange/31802-file-i-o-for-cell-arrays), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Text Files in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: HTK MFCC MATLAB
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
