Wave method – Multichannel Systems NeuroExplorer User Manual

Page 352

Advertising
background image

6.2.19. Wave Method

Document.Wave Method


Returns

Variable

object for the specified waveform variable index.

Syntax


Variable Wave(int waveIndex)

Parameters

Parameter

Type

Description

waveIndex

int

1-based waveform variable index

Returns


Returns

Variable

object.

Usage

Matlab

nex = actxserver('NeuroExplorer.Application');

doc = nex.OpenDocument('C:\Data\TestDataFile.nex');

% get the first waveform variable

Wave1 = doc.Wave(1);

% get the last waveform variable

WaveLast = doc.Wave(doc.WaveCount);

JavaScript

var nex = new ActiveXObject("NeuroExplorer.Application");

var doc = nex.OpenDocument("C:\\Data\\TestDataFile.nex");

// get the first waveform variable

var Wave1 = doc.Wave(1);

// get the last waveform variable

var WaveLast = doc.Wave(doc.WaveCount);

See Also

Variable Interface

Application Interface

Document Interface

COM/ActiveX Interfaces

Page 350

Advertising