Filename property – Multichannel Systems NeuroExplorer User Manual
Page 335
6.2.2. FileName Property
Document.FileName Property
Read-only property that returns a string with the file name.
Syntax
string FileName
Usage
Matlab
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\TestDataFile.nex');
path = doc.Path;
fileName = doc.FileName;
% path is 'C:\Data\TestDataFile.nex'
% fileName is 'TestDataFile.nex'
JavaScript
var nex = new ActiveXObject("NeuroExplorer.Application");
var doc = nex.OpenDocument("C:\\Data\\TestDataFile.nex");
var path = doc.Path;
var fileName = doc.FileName;
// path is "C:\\Data\\TestDataFile.nex"
// fileName is "TestDataFile.nex"
See Also
Page 333