Interval

Returns Variable object for the specified interval variable index.

Syntax

Interval(IntervalIndex)

Parameters

Parameter

Type

Description

IntervalIndex

int

1-based interval variable index

Return

Returns Variable object.

Matlab Example

nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\MyDataFile.nex');
% get the first interval variable
Interval1 = doc.Interval(1);
% get the last interval variable
IntervalLast = doc.Interval(doc.IntervalCount);