Usage:

create_epoch_files.pl [Filename] [Options]
create_epoch_files.pl   filename   length   frequency

Options Description
filename Any file name is possible.
length epoch length specified in seconds (integer)
frequency Frequency of acquisition of the signal in Hertz (integer)
Example:

create_epoch_files.pl subject.txt 30 100
will chop subject.txt EEG file recorded in 100Hz into epoch files of 30 seconds