Name property – Multichannel Systems NeuroExplorer User Manual

Page 361

Advertising
background image

6.3.1. Name Property

Variable.Name Property


Read-only property that returns a string with the variable name.

Syntax


string Name

Usage

Matlab

nex = actxserver('NeuroExplorer.Application');

doc = nex.OpenDocument('C:\Data\TestDataFile.nex');

% get the first neuron variable

neuron1 = doc.Neuron(1);

neuron1Name = neuron1.Name;

JavaScript

var nex = new ActiveXObject("NeuroExplorer.Application");

var doc = nex.OpenDocument("C:\\Data\\TestDataFile.nex");

// get the first neuron variable

var neuron1 = doc.Neuron(1);

var neuron1Name = neuron1.Name;

See Also

Variable Interface

Document Interface

COM/ActiveX Interfaces

Page 359

Advertising