Marker

Returns Variable object for the specified marker variable index.

Syntax

Marker(markerIndex)

Parameters

Parameter

Type

Description

markerIndex

int

1-based marker variable index

Return

Returns Variable object.

Matlab Example

nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\MyDataFile.nex');
% get the first marker variable
Marker1 = doc.Marker(1);
% get the last marker variable
MarkerLast = doc.Marker(doc.MarkerCount);