Executematlabcommand function – Multichannel Systems NeuroExplorer User Manual

Page 265

Advertising
background image

5.5.9.2. ExecuteMatlabCommand Function

ExecuteMatlabCommand Function


Sends the string command to Matlab and executes the command in Matlab.

Syntax


ExecuteMatlabCommand(command)

Parameters

Parameter

Type

Description

command

string

Matlab command to be run.

Returns


None

Comments


Any valid Matlab command that you can type at Matlab prompt can be used. For example, you can
call a Matlab script or a function.

Usage

NexScript

ExecuteMatlabCommand("x=randn(10,1);plot(x)")

See Also

Introduction to NexScript Programming

NexScript Function Categories

Page 263

Advertising