
6.3.2. TimestampCount Property
Variable.TimestampCount Property
Read-only property that returns the number of timestamps in the variable. For interval variables,
returns the number of intervals. For waveforms variable, returns the number of waveforms. For
continuous variables, returns the total number of data points.
Syntax
int TimestampCount
Usage
Matlab
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\TestDataFile.nex');
% get the first neuron variable
neuron1 = doc.Neuron(1);
numTimestamps = neuron1.TimestampCount;
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);
var numTimestamps = neuron1.TimestampCount;
See Also
Variable Interface
Document Interface
COM/ActiveX Interfaces
Page 360
Comentários a estes Manuais