Applytemplate method – Multichannel Systems NeuroExplorer User Manual
Page 357
Advertising
6.2.24. ApplyTemplate Method
Document.ApplyTemplate Method
Runs the analysis specified in the analysis template.
Syntax
void ApplyTemplate(string templateName)
Parameters
Parameter
Type
Description
templateName
string
template name
Returns
None.
Usage
Matlab
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\TestDataFile.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;
See Also
Page 355
Advertising