Interval method – Multichannel Systems NeuroExplorer User Manual
Page 350

6.2.17. Interval Method
Document.Interval Method
Returns
object for the specified interval variable index.
Syntax
Variable Interval(int IntervalIndex)
Parameters
Parameter
Type
Description
IntervalIndex
int
1-based interval variable index
Returns
Returns
Usage
Matlab
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\TestDataFile.nex');
% get the first interval variable
Interval1 = doc.Interval(1);
% get the last interval variable
IntervalLast = doc.Interval(doc.IntervalCount);
JavaScript
var nex = new ActiveXObject("NeuroExplorer.Application");
var doc = nex.OpenDocument("C:\\Data\\TestDataFile.nex");
// get the first interval variable
var Interval1 = doc.Interval(1);
// get the last interval variable
var IntervalLast = doc.Interval(doc.IntervalCount);
See Also
Page 348