Selecttrials function – Multichannel Systems NeuroExplorer User Manual

Page 239

Advertising
background image

5.5.8.9. SelectTrials Function

SelectTrials Function


Creates the new event containing the specified timestamps of a variable.

Syntax


variableReference SelectTrials(var, selectList)

Parameters

Parameter

Type

Description

var

variableReference

Reference to the variable.

selectList

string

A list of comma-separated indexes or ranges of
timestamps. for example: 1,3-5,10.

Returns


The reference to the new variable.

Comments


None

Usage

NexScript

doc = GetActiveDocument()

doc.selectedEvents = SelectTrials(GetVarByName("Event04"), "1,5-10")

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 237

Advertising