Lastininterval function – Multichannel Systems NeuroExplorer User Manual

Page 245

Advertising
background image

5.5.8.15. LastInInterval Function

LastInInterval Function


Creates the new event. For each interval of the specified interval variable, the last timestamp in this
interval is copied to the result.

Syntax


variableReference LastInInterval(var, intervalVar)

Parameters

Parameter

Type

Description

var

variableReference

Reference to the variable.

intervalVar

variableReference

Reference to the interval variable.

Returns


Reference to the new variable.

Comments


Creates the new event. For each interval of intervalVar, the last var timestamp in this interval is
copied to the result.

Usage

NexScript

doc = GetActiveDocument()

doc.LastSpikeInTrial = LastInInterval(doc.Neuron1, doc.Trials)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 243

Advertising