beautypg.com

Getnumres function – Multichannel Systems NeuroExplorer User Manual

Page 217

background image

5.5.7.1. GetNumRes Function

GetNumRes Function


Returns the value of the specified cell in the Numerical Results Window of the first graphical view of
the document.

Syntax


double GetNumRes(doc, row, col)

Parameters

Parameter

Type

Description

doc

documentReference Reference to the document.

row

double

1-based row number.

col

double

1-based column number.

Returns


Returns the numeric value of the specified cell in the Numerical Results Window of the first graphical
view of the document.

Comments


None

Usage

NexScript

doc = GetActiveDocument()

ApplyTemplate(doc, "PSTH")

% get the value of the second bin of the first histogram

binCount = GetNumRes(doc, 2, 1)

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 215