
6.2. Document
Document Interface
NeuroExplorer Application object provides access to the open documents. For example, to open a
document in NeuroExplorer in Matlab script, you can use:
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\TestDataFile.nex');
Here OpenDocument method returns a Document object corresponding to the specified data file.
The properties and methods of the Document object are listed below.
Properties
Property Description
Path Document file path
FileName Document file name
Comment Document comment
TimestampFrequency Document timestamp frequency
StartTime Document data start time
EndTime Document data end time
VariableCount The number of variables in the document
NeuronCount The number of neuron variables in the document
EventCount The number of event variables in the document
IntervalCount The number of interval variables in the document
MarkerCount The number of marker variables in the document
WaveCount The number of waveform variables in the document
ContinuousCount The number of continuous variables in the document
Methods
Method Description
Variable Returns the specified variable
Neuron Returns the specified neuron variable
Event Returns the specified event variable
Marker Returns the specified marker variable
Interval Returns the specified interval variable
Wave Returns the specified waveform variable
Continuous Returns the specified continuous variable
DeselectAll Deselects all the data variables in the document
SelectAllNeurons Selects all the neuron variables in the document
Page 330
Komentarze do niniejszej Instrukcji