Multi-Format CSV Reader

MFCSVREAD reads a CSV file containing both text & numeric data.

You are now following this Submission

"mfcsvread" reads a CSV file containing both text & numeric data. MATLAB's CSVREAD function will work with all numeric, or all text data, but not both. It's common to have a file with a single line of comma separated text headers followed by many rows of numeric data. xlsread is limited in the number of rows & colums (actually, Excel is the limitation) it can read.
The CSV file should look like:
comma, separated, text, ...
1,2,3,4,5,...
6,7,8,9,10,...
etc...

The output is a structure with the column headers as fields in a structure, each with a vector of data.

Cite As

Cole Stephens (2026). Multi-Format CSV Reader (https://au.mathworks.com/matlabcentral/fileexchange/6012-multi-format-csv-reader), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Data Import and Analysis in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Updated license

1.1.0.0

Updated the license information.

1.0.0.0