Mergefiles function – Multichannel Systems NeuroExplorer User Manual

Page 157

Advertising
background image

5.5.1.15. MergeFiles Function

MergeFiles Function


Opens and merges the specified files, returns the reference to the merged file.

Syntax


documentReference MergeFiles(name_list, gap)

Parameters

Parameter

Type

Description

name_list

string

The list of files to be merged. File names should be
separated by "+".

gap

number

Gap between the files (in seconds). See comments
below.

Returns


Returns the reference to the merged file.

Comments


In merge process, the data (for the same variable) from the second file is appended to the data from
the first file. Before appending, the timestamps of the variable in the second file are shifted by the
value equal to duration_of_the_first_file + gap.

Usage

NexScript

doc = MergeFiles("c:\data\file1.plx+c:\data\file2.plx+c:\data\file3.plx", 1.)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 155

Advertising