Event
Returns Variable object for the specified event variable index.
Syntax
Event(eventIndex)
Parameters
Parameter |
Type |
Description |
---|---|---|
eventIndex |
int |
1-based event variable index |
Return
Returns Variable object.
Matlab Example
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\MyDataFile.nex');
% get the first event variable
Event1 = doc.Event(1);
% get the last event variable
EventLast = doc.Event(doc.EventCount);