Applytemplate function – Multichannel Systems NeuroExplorer User Manual

Page 204

Advertising
background image

5.5.6.1. ApplyTemplate Function

ApplyTemplate Function


Runs the analysis specified in the analysis template.

Syntax


ApplyTemplate(doc, templateName)

Parameters

Parameter

Type

Description

documentReference

doc

Reference to the document.

string

templateName

The name of the template.

Returns


None

Comments


None

Usage

NexScript

doc = GetActiveDocument()

% run PSTH analysis saved in the template Peri1

ApplyTemplate(doc, "Peri1")

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 202

Advertising