FileName

Read-only property that returns a string with the file name.

Syntax

FileName

Matlab Example

nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\MyDataFile.nex');
path = doc.Path;
fileName = doc.FileName;
% path is 'C:\Data\MyDataFile.nex'
% fileName is 'MyDataFile.nex'