csv2Cell(csv_fname,​delimiter,header_li​nes)

Simple function that imports a 2D text file spreadsheet into a 2D cell array.

You are now following this Submission

Imports a 2D text file spreadsheet into a 2D cell array. Cell boundaries in the spreadsheet need to be marked by a unique character (e.g., a comma).

Cite As

David Groppe (2026). csv2Cell(csv_fname,delimiter,header_lines) (https://www.mathworks.com/matlabcentral/fileexchange/32778-csv2cell-csv_fname-delimiter-header_lines), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Modified to make importing tab delimited text files possible.

1.1.0.0

Added option to ignore an arbitrary number of header lines

1.0.0.0