SamplingRate

Read-only property that returns the sampling rate (in Hz) of a continuous or waveform variable. For other variable types, returns zero.

Syntax

SamplingRate

Matlab Example

nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\MyDataFile.nex');
% get the first continuous variable
cont1= doc.Continuous(1);
% get sampling rate
samplingRate = cont1.SamplingRate;