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