csv2cell

This functions reads a a text file into a cell array

You are now following this Submission

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

Cite As

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

Acknowledgements

Inspired by: cell2csv

Inspired: Flotation kinetics - modeling

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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.