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