Application – Multichannel Systems NeuroExplorer User Manual
Page 322
6.1. Application
Application Interface
External applications can open an instance of NeuroExplorer using its Program ID
"NeuroExplorer.Application".
For example, to open NeuroExplorer (or to connect to a running instance of NeuroExplorer) in Matlab
, you can use the following command:
nex = actxserver('NeuroExplorer.Application');
To open NeuroExplorer in JavaScript, use the following command:
var nex = new ActiveXObject("NeuroExplorer.Application");
The object returned by the actxserver or ActiveXObject command is an Application object. The
properties and methods of this object are listed below.
Properties
Property
Description
Read-only access to the active document
The number of open documents
NeuroExplorer version
Controls visibility of the application
Methods
Method
Description
Opens a specified document (data file)
Returns one of the open documents
Pauses the program
Runs NexScript saved in a file
Runs the specified NexScript text
See Also
Page 320