Code covered by the BSD License  

Highlights from
Load parts of a data file

Be the first to rate this file! 6 Downloads (last 30 days) File Size: 1.57 KB File ID: #40654

Load parts of a data file

by Kaare

 

06 Mar 2013

Function allowing loading of every n'th row and arbitrary columns of named file.

| Watch this File

File Information
Description

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.

Required Products MATLAB
MATLAB release MATLAB 7.14 (R2012a)
Tags for This File  
Everyone's Tags
data import
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.

Contact us