Getvar function – Multichannel Systems NeuroExplorer User Manual
Page 172
Advertising
5.5.3.4. GetVar Function
GetVar Function
Returns the reference to the specified variable.
Syntax
variableReference GetVar(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
string
Variable type. Should be "neuron", "neuronorevent" ,
"event", "interval" "wave", "popvector", "continuous",
"marker" or "all".
Returns
Returns the reference to the specified variable.
Comments
None
Usage
NexScript
doc = GetActiveDocument()
% get the second event variable
event = GetVar(doc, 2, "event")
See Also
Introduction to NexScript Programming
Page 170
Advertising