image thumbnail


version (2.26 KB) by Roland Pfister
A cell array is written to a delimited output file, incl. options for appending & custom delimiters.


Updated 13 Feb 2019

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This submission works similar as Sylvain Fiedlers / Rob Kohrs "cell2csv.m". Thus, any cell array containing numbers and/or strings can be written to an output file.

dlmcell.m, however, has two main advantages:

(1) It is possible to append the cell array to an existing file.

(2) Even numbers or words that are stored as <1,1> cell within the cell array can be read.

Cite As

Roland Pfister (2022). dlmcell (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!