Wave

Returns Variable object for the specified waveform variable index.

Syntax

Wave(waveIndex)

Parameters

Parameter

Type

Description

waveIndex

int

1-based waveform variable index

Return

Returns Variable object.

Matlab Example

nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\MyDataFile.nex');
% get the first waveform variable
Wave1 = doc.Wave(1);
% get the last waveform variable
WaveLast = doc.Wave(doc.WaveCount);