Main Content

pause

Pause MATLAB Job Scheduler queue

Syntax

pause(mjs)

Arguments

mjs

MATLAB® Job Scheduler object whose queue is paused.

Description

pause(mjs) pauses the MATLAB Job Scheduler’s queue so that jobs waiting in the queued state will not run. Jobs that are already running also pause, after completion of tasks that are already running. No further jobs or tasks will run until the resume function is called for the MATLAB Job Scheduler.

The pause function does nothing if the MATLAB Job Scheduler is already paused.

Introduced before R2006a