Rename function – Multichannel Systems NeuroExplorer User Manual
Page 231
Advertising
5.5.8.1. Rename Function
Rename Function
Renames the specified variable.
Syntax
Rename(doc, var, newName)
Parameters
Parameter
Type
Description
doc
documentReference Reference to the document.
var
variableReference
Reference to the variable.
newName
string
The new name of the variable.
Returns
None
Comments
Use this function when you need to assign the variable name generated in the script.
Usage
NexScript
doc = GetActiveDocument()
doc.Temp = IntervalFilter(GetVarByName("Neuron04a"), GetVarByName("Trials"))
Rename(doc, doc.Temp, "Neuron04a_filtered")
See Also
Introduction to NexScript Programming
Page 229
Advertising