Intsize function – Multichannel Systems NeuroExplorer User Manual

Page 254

Advertising
background image

5.5.8.24. IntSize Function

IntSize Function


Creates a new Interval Variable that contains the intervals with the specified length range.

Syntax


variableReference IntSize(intervalVar, minInt, maxInt)

Parameters

Parameter

Type

Description

intervalVar

variableReference

Reference to the interval variable.

minInt

double

Minimum interval length (in seconds).

maxInt

double

Maximum interval length (in seconds).

Returns


Reference to the new interval variable.

Comments


Creates a new Interval Variable that contains all of the intervals of intervalVar that have the length
which is more or equal to minInt and less than or equal to intMax.

Usage

NexScript

doc = GetActiveDocument()

doc.TrialsLessThan10secDuration = IntSize(doc.Trials, 0, 10)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 252

Advertising