Interval method – Multichannel Systems NeuroExplorer User Manual

Page 350

Advertising
background image

6.2.17. Interval Method

Document.Interval Method


Returns

Variable

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

Variable

object.

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

Variable Interface

Application Interface

Document Interface

COM/ActiveX Interfaces

Page 348

Advertising