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