Com/activex interfaces – Multichannel Systems NeuroExplorer User Manual
Page 321

6. COM/ActiveX Interfaces
NeuroExplorer exposes COM (Component Object Model) interfaces that allow other applications to
launch and control NeuroExplorer.
For example, the following Matlab code starts NeuroExplorer, opens a data file and loads Neuron04a
timestamps into the Matlab workspace:
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\TestDataFile1.nex');
neuron = doc.Variable('Neuron04a');
timestamps = neuron.Timestamps();
The table below lists the objects that NeuroExplorer exposes via COM methods and properties.
Interface
Description
Neuroexplorer application interface. Provides methods and
properties for the main application (for example, open
document).
Document interface. Provides methods and properties of
the document (for example, lists variables in the
document).
Variable
Variable interface. Provides methods and properties of a
variable inside a document (for example, gets variable
timestamps).
Page 319