Variable – Multichannel Systems NeuroExplorer User Manual
Page 360
6.3. Variable
Variable Interface
NeuroExplorer Application object provides access to the open files and variables contained in the
files. For example, to open a document in NeuroExplorer and get the first event variable in the
document in Matlab, you can use:
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\TestDataFile.nex');
event1 = doc.Event(1);
Here Event() method returns a Variable object corresponding to the first event variable in the file.
The properties and methods of the Variable object are listed below.
Properties
Property
Description
Variable name
Number of timestamps in the variable
Methods
Method
Description
Returns all the variable timestamps in an array
For interval variables, returns all the interval start values
For interval variables, returns all the interval end values
For continuous variables, returns fragment timestamps
For continuous variables, returns the number of data points in
each fragment
For continuous variables, returns A/D values in milliVolts
For marker variables, returns marker string values
For waveform variables, returns waveform values
Selects the variable for analysis
Deselects the variable
See Also
Page 358