readcsv.m

This function imports a csv file into a structure array

You are now following this Submission

This function reads a csv file, assuming headers in the first row, and imports the contents into a structure array, whose fields correspond to the csv column names, except by replacing all '.' with '_').

Cite As

Dongxi Zheng (2026). readcsv.m (https://au.mathworks.com/matlabcentral/fileexchange/47137-readcsv-m), 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.0.0.0