Variable – Multichannel Systems NeuroExplorer User Manual

Page 360

Advertising
background image

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

Name

Variable name

TimestampCount

Number of timestamps in the variable

Methods

Method

Description

Timestamps

Returns all the variable timestamps in an array

IntervalStarts

For interval variables, returns all the interval start values

IntervalEnds

For interval variables, returns all the interval end values

FragmentTimestamps

For continuous variables, returns fragment timestamps

FragmentCounts

For continuous variables, returns the number of data points in
each fragment

ContinuousValues

For continuous variables, returns A/D values in milliVolts

MarkerValues

For marker variables, returns marker string values

WaveformValues

For waveform variables, returns waveform values

Select

Selects the variable for analysis

Deselect

Deselects the variable

See Also

Document Interface

COM/ActiveX Interfaces

Page 358

Advertising