readcsv.m
Version 1.0.0.0 (1.53 KB) by
Dongxi Zheng
This function imports a csv file into a structure array
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 LinuxCategories
Find more on Structures in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |