
6.2.15. Neuron Method
Document.Neuron Method
Returns Variable 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 Variable object.
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
Variable Interface
Application Interface
Document Interface
COM/ActiveX Interfaces
Page 346
Comentários a estes Manuais