Load parts of a data file

版本 1.2.0.0 (1.7 KB) 作者: Kaare
Function allowing loading of every n'th row and arbitrary columns of named file.
265.0 次下载
更新时间 2014/1/27

查看许可证

Essentially a wrapper for textscan, but requiring less everyday coding. Just tell the function the file, whether you want all rows or every n'th, which (or all) columns you want, and the maximum number of rows to load (if you don't know how big the file is).

The script assumes that an individual line in the file is of a manageable size, and that all lines have the same length.

引用格式

Kaare (2024). Load parts of a data file (https://www.mathworks.com/matlabcentral/fileexchange/40654-load-parts-of-a-data-file), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2012a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Low-Level File I/O 的更多信息
标签 添加标签

Community Treasure Hunt

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

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

discovered some problems which slowed down the loading considerably, these have now been fixed.

1.0.0.0