View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from

Join the 15-year community celebration.

Play games and win prizes!

» Learn more

Be the first to rate this file! 0 Downloads (last 30 days) File Size: 2.65 KB File ID: #35064 Version: 1.0
image thumbnail




Extracts the specified rows of data from one file into one or more new files.

| Watch this File

File Information

The SplitData function splits the data at FILENAME into different files according to the information provided in TRIAL_INFO. The original file is not changed in any way. (The function Util_GetFileInfo.m is required for use, and is also available at MATLAB's File Exchange.)

> FILENAME - The location of the source data. A text file is expected (e.g., 'Data.txt').
> TRIAL_INFO - An Nx2 matrix, where each row contains the starting time and length (in seconds) of the N trials to be extracted. A time of 0 s corresponds to sample number 1.
> FS - The sampling rate (Hz).

> none.

Written by Alex Andrews, 2012.
Last updated: February 13th, 2012.

FeatureFinder is a free MATLAB tool that lets you organize your signals, visually review them with speed and ease, apply filters and normalization, and export meaningful signal features in a ready-to-analyze format. Visit to learn more.

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.

Contact us