ApplyTemplate

Runs the analysis specified in the analysis template.

Syntax

ApplyTemplate(templateName)

Parameters

Parameter

Type

Description

templateName

string

template name

Return

None.

Matlab Example

nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\MyDataFile.nex');
% deselect all variables
doc.DeselectAll();
% select all neurons
doc.SelectAllNeurons();
% run Interspike Interval Histogram analysis saved in 'ISI' template
doc.ApplyTemplate('ISI');
% get numerical results
results = doc.GetNumericalResults();
% close NeuroExplorer
nex.delete;