Marker method – Multichannel Systems NeuroExplorer User Manual
Page 351

6.2.18. Marker Method
Document.Marker Method
Returns
object for the specified marker variable index.
Syntax
Variable Marker(int markerIndex)
Parameters
Parameter
Type
Description
markerIndex
int
1-based marker variable index
Returns
Returns
Usage
Matlab
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\TestDataFile.nex');
% get the first marker variable
Marker1 = doc.Marker(1);
% get the last marker variable
MarkerLast = doc.Marker(doc.MarkerCount);
JavaScript
var nex = new ActiveXObject("NeuroExplorer.Application");
var doc = nex.OpenDocument("C:\\Data\\TestDataFile.nex");
// get the first marker variable
var Marker1 = doc.Marker(1);
// get the last marker variable
var MarkerLast = doc.Marker(doc.MarkerCount);
See Also
Page 349