Wave method – Multichannel Systems NeuroExplorer User Manual
Page 352

6.2.19. Wave Method
Document.Wave Method
Returns
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
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
Page 350