EZread
5.1K Downloads
Updated 6 Sep 2007
No License
Read a CSV file that contains both text and numeric columns, without having to manually specify the column type using %f, %s, etc.
MATLAB functions such as "textscan" that can read files with columns of both text and numeric values require the user to specify the data type of each column, which can be tedious for anything but the simplest file. Instead, this function determines each column's data type automatically.
Creates a MATLAB structure from the data, with fieldnames matching the headers in the file.
See also: "ezwrite"
Cite As
Paul Taylor (2023). EZread (https://www.mathworks.com/matlabcentral/fileexchange/11026-ezread), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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 | Changed %s to %q to handle strings within double quotes that have a comma within them |