csv2Cell(csv_fname,delimiter,header_lines)
Version 1.2.0.0 (2.67 KB) by
David Groppe
Simple function that imports a 2D text file spreadsheet into a 2D cell array.
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 (2025). csv2Cell(csv_fname,delimiter,header_lines) (https://www.mathworks.com/matlabcentral/fileexchange/32778-csv2cell-csv_fname-delimiter-header_lines), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2009a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Spreadsheets in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.