Sleep

Pauses the application.

Syntax

Sleep(millisecondsToSleep)

Parameters

Parameter

Type

Description

millisecondsToSleep

int

Number of milliseconds to sleep

Return

None.

Matlab Example

nex = actxserver('NeuroExplorer.Application');
% pause NeuroExplorer for 1 second
nex.Sleep(1000);