EZread

版本 1.0.0.0 (1.1 KB) 作者: Paul Taylor
Easily read csv files containing both text and numeric columns
5.1K 次下载
更新时间 2007/9/6

无许可证

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"

引用格式

Paul Taylor (2024). EZread (https://www.mathworks.com/matlabcentral/fileexchange/11026-ezread), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Text Files 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Changed %s to %q to handle strings within double quotes that have a comma within them