Getcontvarwithtimestampsfrommatlab function – Multichannel Systems NeuroExplorer User Manual

Page 268

Advertising
background image

5.5.9.5. GetContVarWithTimestampsFromMatlab Function

GetContVarWithTimestampsFromMatlab Function


Imports the specified 2-column matrix containing continuous variable data from Matlab.

Syntax


GetContVarWithTimestampsFromMatlab(doc, MatrixName, UseFirstDeltaAsDigRate)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document

MatrixName

string

The name of the Matrix in Matlab workspace. The
first column of the matrix should contain the values
of a continuous variable, the second column - the
corresponding timestamps.

UseFirstDeltaAsDigRat
e

double (0 or 1)

If this parameter is positive, the difference between
the second and the first timestamp is used as the
variable digitizing rate.

Returns


None

Comments


This function adds a continuous variable to the specified document. The name of the new variable is
the MatrixName.

Usage

NexScript

doc = GetActiveDocument()

GetContVarWithTimestampsFromMatlab(doc, MatrixName, UseFirstDeltaAsDigRate)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 266

Advertising