Neuron

Returns Variable object for the specified neuron variable index.

Syntax

Neuron(neuronIndex)

Parameters

Parameter

Type

Description

neuronIndex

int

1-based neuron variable index

Return

Returns Variable object.

Matlab Example

nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\MyDataFile.nex');
% get the first neuron variable
neuron1 = doc.Neuron(1);
% get the last neuron variable
neuronLast = doc.Neuron(doc.NeuronCount);