RunNexScript

Runs the specified NexScript. Returns true if succeeded.

Syntax

RunNexScript(scriptPath)

Parameters

Parameter

Type

Description

scriptPath

string

Script path

Return

Returns true if script succeeded, otherwise, returns false.

Matlab Example

nex = actxserver('NeuroExplorer.Application');
res = nex.RunNexScript('C:\Data\Scripts\TestScript.nsc');