ActiveDocument

Read-only property that returns Document object that represents the active document (the document corresponding to the active window of the application). Returns null if there are no open documents.

Syntax

ActiveDocument

Return

Returns Document object.

Matlab Example

nex = actxserver('NeuroExplorer.Application');
doc = nex.ActiveDocument;