csv2cell

Version 1.0.0.0 (502 Bytes) by Sergey
This functions reads a a text file into a cell array
3K Downloads
Updated 16 Jun 2008

No License

% res = csv2cell( filename )
% res = csv2cell( filename, delimiter )
returns a cell array which contains both numeric and text data.

Cite As

Sergey (2024). csv2cell (https://www.mathworks.com/matlabcentral/fileexchange/20135-csv2cell), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Cell Arrays in Help Center and MATLAB Answers
Acknowledgements

Inspired by: cell2csv

Inspired: Flotation kinetics - modeling

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

There was a bug in the csv2cell.m. The function returned an error if no delimiters found in the csv file, i.e. the file includes only one column.
The bug was fixed.
My apologies.