Controlling NeuroExplorer from Matlab

NeuroExplorer exposes COM (Component Object Model, or ActiveX) 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:\Data\MyDataFile.nex');
neuron = doc.Variable('Neuron04a');
timestamps = neuron.Timestamps();

The table below lists the objects that NeuroExplorer exposes via COM methods and properties.