readcsv.m

This function imports a csv file into a structure array
320 Downloads
Updated 7 Jul 2014

View License

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 (2024). readcsv.m (https://www.mathworks.com/matlabcentral/fileexchange/47137-readcsv-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Structures in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0