Opendocument method – Multichannel Systems NeuroExplorer User Manual
Page 327
Advertising
6.1.5. OpenDocument Method
Application.OpenDocument Method
Opens the specified data file. Returns Document object if succeeded.
Syntax
Document OpenDocument ( string documentPath )
Parameters
Parameter
Type
Description
documentPath
string
Full data file path
Returns
Returns
object.
Usage
Matlab
nex = actxserver('NeuroExplorer.Application');
doc = nex.OpenDocument('C:\Data\TestDataFile.nex');
JavaScript
var nex = new ActiveXObject("NeuroExplorer.Application");
// note that in JavaScript you need to use double backslashes
// when specifying file path
var doc = nex.OpenDocument("C:\\Data\\TestDataFile.nex");
See Also
Page 325
Advertising