Closes the document.
Close()
None.
nex = actxserver('NeuroExplorer.Application'); doc = nex.OpenDocument('C:\Data\MyDataFile.nex'); % close the document doc.Close();