Getvarname function – Multichannel Systems NeuroExplorer User Manual

Page 170

Advertising
background image

5.5.3.2. GetVarName Function

GetVarName Function


Returns the name of the specified variable.

Syntax


string GetVarName(doc, number, varType)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document.

number

double

1-based variable number within the group specified
by varType.

varType

variableReference

Variable type. Should be "neuron", "neuronorevent" ,
"event", "interval" "wave", "popvector", "continuous",
"marker" or "all".

Returns


Returns the name of the specified variable.

Comments


None

Usage

NexScript

doc = GetActiveDocument()

% get the name of the first event variable

name = GetVarName(doc, 1, "event")

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 168

Advertising