DocumentCount
Read-only property that returns the number of open documents (data files).
Syntax
DocumentCount
Return
Returns the number of open documents (data files).
Matlab Example
nex = actxserver('NeuroExplorer.Application');
numDocs = nex.DocumentCount;