Neuron method – Multichannel Systems NeuroExplorer User Manual
Page 348
6.2.15. Neuron Method
Document.Neuron Method
Returns
object for the specified neuron variable index.
Syntax
Variable Neuron(int neuronIndex)
Parameters
Parameter
Type
Description
neuronIndex
int
1-based neuron variable index
Returns
Returns
Usage
Matlab
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\TestDataFile.nex');
% get the first neuron variable
neuron1 = doc.Neuron(1);
% get the last neuron variable
neuronLast = doc.Neuron(doc.NeuronCount);
JavaScript
var nex = new ActiveXObject("NeuroExplorer.Application");
var doc = nex.OpenDocument("C:\\Data\\TestDataFile.nex");
// get the first neuron variable
var neuron1 = doc.Neuron(1);
// get the last neuron variable
var neuronLast = doc.Neuron(doc.NeuronCount);
See Also
Page 346