image thumbnail


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


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 (, 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!