TimestampCount

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

TimestampCount

Matlab Example

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