image thumbnail

readcsv.m

version 1.0.0.0 (1.53 KB) by Dongxi Zheng
This function imports a csv file into a structure array

293 Downloads

Updated 07 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 (2022). 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

Community Treasure Hunt

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

Start Hunting!