WaveCount
Read-only property that returns the number of waveform variables in the document.
Syntax
WaveCount
Matlab Example
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\MyDataFile.nex');
numWaveVars = doc.WaveCount;